Loading model...
by ThartySix Ph · 6/15/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: ClassicRedPickup |
| 3 | |
| 4 | local MS = game:GetService("MaterialService") |
| 5 | |
| 6 | local ok, roots = pcall(game.GetObjects, game, "rbxassetid://13386676607") |
| 7 | if not ok then return warn(roots) end |
| 8 | |
| 9 | local tmp = Instance.new("Folder") |
| 10 | for _, r in ipairs(roots) do r.Parent = tmp end |
| 11 | |
| 12 | for _, d in ipairs(tmp:GetDescendants()) do |
| 13 | if d:IsA("MaterialVariant") then |
| 14 | d.Parent = MS |
| 15 | end |
| 16 | end |
| 17 | tmp:Destroy() |
| 18 | |
| 19 | local model = Instance.new("Model") |
| 20 | model.Name = "ClassicRedPickup" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["Dark stone grey"] = "2022 Stud", |
| 26 | ["Institutional white"] = "2022 Stud", |
| 27 | ["Really black"] = "2022 Universal", |
| 28 | ["Reddish brown"] = "2022 Small Stud", |
| 29 | ["Silver"] = "2022 Stud", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Name = "Chassis" |
| 34 | p.Size = Vector3.new(7.6, 0.5, 22) |
| 35 | p.CFrame = CFrame.new(0, 1.46, 0) |
| 36 | p.BrickColor = BrickColor.new("Really black") |
| 37 | p.Material = Enum.Material.Glacier |
| 38 | p.MaterialVariant = "2022 Universal" |
| 39 | p.Anchored = true |
| 40 | p.Parent = model |
| 41 | end |
| 42 | do |
| 43 | local p = Instance.new("Part") |
| 44 | p.Shape = Enum.PartType.Cylinder |
| 45 | p.Name = "Tire_FL" |
| 46 | p.Size = Vector3.new(1.2, 3.2, 3.2) |
| 47 | p.CFrame = CFrame.new(-4.2, 1.75, -7.5) |
| 48 | p.BrickColor = BrickColor.new("Really black") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Universal" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Shape = Enum.PartType.Cylinder |
| 57 | p.Name = "Whitewall_FL" |
| 58 | p.Size = Vector3.new(1.22, 2.4, 2.4) |
| 59 | p.CFrame = CFrame.new(-4.3, 1.75, -7.5) |
| 60 | p.BrickColor = BrickColor.new("Institutional white") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Stud" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Shape = Enum.PartType.Cylinder |
| 69 | p.Name = "Hubcap_FL" |
| 70 | p.Size = Vector3.new(1.25, 1.4, 1.4) |
| 71 | p.CFrame = CFrame.new(-4.4, 1.75, -7.5) |
| 72 | p.BrickColor = BrickColor.new("Silver") |
| 73 | p.Material = Enum.Material.Glacier |
| 74 | p.MaterialVariant = "2022 Stud" |
| 75 | p.Anchored = true |
| 76 | p.Parent = model |
| 77 | end |
| 78 | do |
| 79 | local p = Instance.new("Part") |
| 80 | p.Shape = Enum.PartType.Cylinder |
| 81 | p.Name = "Tire_FR" |
| 82 | p.Size = Vector3.new(1.2, 3.2, 3.2) |
| 83 | p.CFrame = CFrame.new(4.2, 1.75, -7.5) |
| 84 | p.BrickColor = BrickColor.new("Really black") |
| 85 | p.Material = Enum.Material.Glacier |
| 86 | p.MaterialVariant = "2022 Universal" |
| 87 | p.Anchored = true |
| 88 | p.Parent = model |
| 89 | end |
| 90 | do |
| 91 | local p = Instance.new("Part") |
| 92 | p.Shape = Enum.PartType.Cylinder |
| 93 | p.Name = "Whitewall_FR" |
| 94 | p.Size = Vector3.new(1.22, 2.4, 2.4) |
| 95 | p.CFrame = CFrame.new(4.3, 1.75, -7.5) |
| 96 | p.BrickColor = BrickColor.new("Institutional white") |
| 97 | p.Material = Enum.Material.Glacier |
| 98 | p.MaterialVariant = "2022 Stud" |
| 99 | p.Anchored = true |
| 100 | p.Parent = model |
| 101 | end |
| 102 | do |
| 103 | local p = Instance.new("Part") |
| 104 | p.Shape = Enum.PartType.Cylinder |
| 105 | p.Name = "Hubcap_FR" |
| 106 | p.Size = Vector3.new(1.25, 1.4, 1.4) |
| 107 | p.CFrame = CFrame.new(4.4, 1.75, -7.5) |
| 108 | p.BrickColor = BrickColor.new("Silver") |
| 109 | p.Material = Enum.Material.Glacier |
| 110 | p.MaterialVariant = "2022 Stud" |
| 111 | p.Anchored = true |
| 112 | p.Parent = model |
| 113 | end |
| 114 | do |
| 115 | local p = Instance.new("Part") |
| 116 | p.Shape = Enum.PartType.Cylinder |
| 117 | p.Name = "Tire_RL" |
| 118 | p.Size = Vector3.new(1.2, 3.2, 3.2) |
| 119 | p.CFrame = CFrame.new(-4.2, 1.75, 6.5) |
| 120 | p.BrickColor = BrickColor.new("Really black") |
| 121 | p.Material = Enum.Material.Glacier |
| 122 | p.MaterialVariant = "2022 Universal" |
| 123 | p.Anchored = true |
| 124 | p.Parent = model |
| 125 | end |
| 126 | do |
| 127 | local p = Instance.new("Part") |
| 128 | p.Shape = Enum.PartType.Cylinder |
| 129 | p.Name = "Whitewall_RL" |
| 130 | p.Size = Vector3.new(1.22, 2.4, 2.4) |
| 131 | p.CFrame = CFrame.new(-4.3, 1.75, 6.5) |
| 132 | p.BrickColor = BrickColor.new("Institutional white") |
| 133 | p.Material = Enum.Material.Glacier |
| 134 | p.MaterialVariant = "2022 Stud" |
| 135 | p.Anchored = true |
| 136 | p.Parent = model |
| 137 | end |
| 138 | do |
| 139 | local p = Instance.new("Part") |
| 140 | p.Shape = Enum.PartType.Cylinder |
| 141 | p.Name = "Hubcap_RL" |
| 142 | p.Size = Vector3.new(1.25, 1.4, 1.4) |
| 143 | p.CFrame = CFrame.new(-4.4, 1.75, 6.5) |
| 144 | p.BrickColor = BrickColor.new("Silver") |
| 145 | p.Material = Enum.Material.Glacier |
| 146 | p.MaterialVariant = "2022 Stud" |
| 147 | p.Anchored = true |
| 148 | p.Parent = model |
| 149 | end |
| 150 | do |
| 151 | local p = Instance.new("Part") |
| 152 | p.Shape = Enum.PartType.Cylinder |
| 153 | p.Name = "Tire_RR" |
| 154 | p.Size = Vector3.new(1.2, 3.2, 3.2) |
| 155 | p.CFrame = CFrame.new(4.2, 1.75, 6.5) |
| 156 | p.BrickColor = BrickColor.new("Really black") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Universal" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Shape = Enum.PartType.Cylinder |
| 165 | p.Name = "Whitewall_RR" |
| 166 | p.Size = Vector3.new(1.22, 2.4, 2.4) |
| 167 | p.CFrame = CFrame.new(4.3, 1.75, 6.5) |
| 168 | p.BrickColor = BrickColor.new("Institutional white") |
| 169 | p.Material = Enum.Material.Glacier |
| 170 | p.MaterialVariant = "2022 Stud" |
| 171 | p.Anchored = true |
| 172 | p.Parent = model |
| 173 | end |
| 174 | do |
| 175 | local p = Instance.new("Part") |
| 176 | p.Shape = Enum.PartType.Cylinder |
| 177 | p.Name = "Hubcap_RR" |
| 178 | p.Size = Vector3.new(1.25, 1.4, 1.4) |
| 179 | p.CFrame = CFrame.new(4.4, 1.75, 6.5) |
| 180 | p.BrickColor = BrickColor.new("Silver") |
| 181 | p.Material = Enum.Material.Glacier |
| 182 | p.MaterialVariant = "2022 Stud" |
| 183 | p.Anchored = true |
| 184 | p.Parent = model |
| 185 | end |
| 186 | do |
| 187 | local p = Instance.new("Part") |
| 188 | p.Name = "HoodLower" |
| 189 | p.Size = Vector3.new(6.8, 2.5, 7) |
| 190 | p.CFrame = CFrame.new(0, 3, -7.5) |
| 191 | p.BrickColor = BrickColor.new("Bright red") |
| 192 | p.Material = Enum.Material.Glacier |
| 193 | p.MaterialVariant = "2022 Stud" |
| 194 | p.Anchored = true |
| 195 | p.Parent = model |
| 196 | end |
| 197 | do |
| 198 | local p = Instance.new("Part") |
| 199 | p.Name = "HoodUpper" |
| 200 | p.Size = Vector3.new(6.6, 1, 7) |
| 201 | p.CFrame = CFrame.new(0, 4.8, -7.54) |
| 202 | p.BrickColor = BrickColor.new("Bright red") |
| 203 | p.Material = Enum.Material.Glacier |
| 204 | p.MaterialVariant = "2022 Stud" |
| 205 | p.Anchored = true |
| 206 | p.Parent = model |
| 207 | end |
| 208 | do |
| 209 | local p = Instance.new("Part") |
| 210 | p.Name = "HoodTop" |
| 211 | p.Size = Vector3.new(6.4, 0.4, 6) |
| 212 | p.CFrame = CFrame.new(0, 5.54, -7) |
| 213 | p.BrickColor = BrickColor.new("Bright red") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Name = "GrilleFrame" |
| 222 | p.Size = Vector3.new(5.4, 2.2, 0.4) |
| 223 | p.CFrame = CFrame.new(0, 3.54, -11.1) |
| 224 | p.BrickColor = BrickColor.new("Bright red") |
| 225 | p.Material = Enum.Material.Glacier |
| 226 | p.MaterialVariant = "2022 Stud" |
| 227 | p.Anchored = true |
| 228 | p.Parent = model |
| 229 | end |
| 230 | do |
| 231 | local p = Instance.new("Part") |
| 232 | p.Name = "GrilleInsert" |
| 233 | p.Size = Vector3.new(5, 1.8, 0.2) |
| 234 | p.CFrame = CFrame.new(0, 3.5, -11.24) |
| 235 | p.BrickColor = BrickColor.new("Silver") |
| 236 | p.Material = Enum.Material.Glacier |
| 237 | p.MaterialVariant = "2022 Stud" |
| 238 | p.Anchored = true |
| 239 | p.Parent = model |
| 240 | end |
| 241 | do |
| 242 | local p = Instance.new("Part") |
| 243 | p.Name = "BumperFront" |
| 244 | p.Size = Vector3.new(8.4, 0.8, 1) |
| 245 | p.CFrame = CFrame.new(0, 2, -11.54) |
| 246 | p.BrickColor = BrickColor.new("Silver") |
| 247 | p.Material = Enum.Material.Glacier |
| 248 | p.MaterialVariant = "2022 Stud" |
| 249 | p.Anchored = true |
| 250 | p.Parent = model |
| 251 | end |
| 252 | do |
| 253 | local p = Instance.new("Part") |
| 254 | p.Name = "BumperRear" |
| 255 | p.Size = Vector3.new(8.4, 0.8, 1) |
| 256 | p.CFrame = CFrame.new(0, 2, 11.62) |
| 257 | p.BrickColor = BrickColor.new("Silver") |
| 258 | p.Material = Enum.Material.Glacier |
| 259 | p.MaterialVariant = "2022 Stud" |
| 260 | p.Anchored = true |
| 261 | p.Parent = model |
| 262 | end |
| 263 | do |
| 264 | local p = Instance.new("Part") |
| 265 | p.Shape = Enum.PartType.Cylinder |
| 266 | p.Name = "HeadlightL" |
| 267 | p.Size = Vector3.new(1.2, 1.4, 1.4) |
| 268 | p.CFrame = CFrame.new(-2.8, 4, -11) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 269 | p.BrickColor = BrickColor.new("Silver") |
| 270 | p.Material = Enum.Material.Glacier |
| 271 | p.MaterialVariant = "2022 Stud" |
| 272 | p.Anchored = true |
| 273 | p.Parent = model |
| 274 | end |
| 275 | do |
| 276 | local p = Instance.new("Part") |
| 277 | p.Shape = Enum.PartType.Cylinder |
| 278 | p.Name = "HeadlightLensL" |
| 279 | p.Size = Vector3.new(1.25, 1, 1) |
| 280 | p.CFrame = CFrame.new(-2.8, 4, -11.1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 281 | p.BrickColor = BrickColor.new("Institutional white") |
| 282 | p.Material = Enum.Material.Neon |
| 283 | p.Anchored = true |
| 284 | p.Parent = model |
| 285 | end |
| 286 | do |
| 287 | local p = Instance.new("Part") |
| 288 | p.Shape = Enum.PartType.Cylinder |
| 289 | p.Name = "HeadlightR" |
| 290 | p.Size = Vector3.new(1.2, 1.4, 1.4) |
| 291 | p.CFrame = CFrame.new(2.8, 4, -11) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 292 | p.BrickColor = BrickColor.new("Silver") |
| 293 | p.Material = Enum.Material.Glacier |
| 294 | p.MaterialVariant = "2022 Stud" |
| 295 | p.Anchored = true |
| 296 | p.Parent = model |
| 297 | end |
| 298 | do |
| 299 | local p = Instance.new("Part") |
| 300 | p.Shape = Enum.PartType.Cylinder |
| 301 | p.Name = "HeadlightLensR" |
| 302 | p.Size = Vector3.new(1.25, 1, 1) |
| 303 | p.CFrame = CFrame.new(2.8, 4, -11.1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 304 | p.BrickColor = BrickColor.new("Institutional white") |
| 305 | p.Material = Enum.Material.Neon |
| 306 | p.Anchored = true |
| 307 | p.Parent = model |
| 308 | end |
| 309 | do |
| 310 | local p = Instance.new("Part") |
| 311 | p.Name = "CabLower" |
| 312 | p.Size = Vector3.new(7.6, 3.5, 4) |
| 313 | p.CFrame = CFrame.new(0, 3.5, -1.96) |
| 314 | p.BrickColor = BrickColor.new("Bright red") |
| 315 | p.Material = Enum.Material.Glacier |
| 316 | p.MaterialVariant = "2022 Stud" |
| 317 | p.Anchored = true |
| 318 | p.Parent = model |
| 319 | end |
| 320 | do |
| 321 | local p = Instance.new("Part") |
| 322 | p.Name = "CabUpper" |
| 323 | p.Size = Vector3.new(7.2, 3, 3.5) |
| 324 | p.CFrame = CFrame.new(0, 7, -1.5) |
| 325 | p.BrickColor = BrickColor.new("Bright red") |
| 326 | p.Material = Enum.Material.Glacier |
| 327 | p.MaterialVariant = "2022 Stud" |
| 328 | p.Anchored = true |
| 329 | p.Parent = model |
| 330 | end |
| 331 | do |
| 332 | local p = Instance.new("Part") |
| 333 | p.Name = "CabRoof" |
| 334 | p.Size = Vector3.new(7, 0.4, 3.3) |
| 335 | p.CFrame = CFrame.new(0, 8.6, -1.5) |
| 336 | p.BrickColor = BrickColor.new("Bright red") |
| 337 | p.Material = Enum.Material.Glacier |
| 338 | p.MaterialVariant = "2022 Stud" |
| 339 | p.Anchored = true |
| 340 | p.Parent = model |
| 341 | end |
| 342 | do |
| 343 | local p = Instance.new("Part") |
| 344 | p.Name = "Windshield" |
| 345 | p.Size = Vector3.new(6.8, 2.6, 0.2) |
| 346 | p.CFrame = CFrame.new(0, 7.2, -3.3) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)) |
| 347 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Stud" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Name = "WindowL" |
| 356 | p.Size = Vector3.new(0.2, 2.4, 2.5) |
| 357 | p.CFrame = CFrame.new(-3.65, 7.2, -1.5) |
| 358 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 359 | p.Material = Enum.Material.Glacier |
| 360 | p.MaterialVariant = "2022 Stud" |
| 361 | p.Anchored = true |
| 362 | p.Parent = model |
| 363 | end |
| 364 | do |
| 365 | local p = Instance.new("Part") |
| 366 | p.Name = "WindowR" |
| 367 | p.Size = Vector3.new(0.2, 2.4, 2.5) |
| 368 | p.CFrame = CFrame.new(3.65, 7.2, -1.5) |
| 369 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 370 | p.Material = Enum.Material.Glacier |
| 371 | p.MaterialVariant = "2022 Stud" |
| 372 | p.Anchored = true |
| 373 | p.Parent = model |
| 374 | end |
| 375 | do |
| 376 | local p = Instance.new("Part") |
| 377 | p.Name = "RearWindow" |
| 378 | p.Size = Vector3.new(6, 2, 0.2) |
| 379 | p.CFrame = CFrame.new(0, 7.2, 0.3) |
| 380 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 381 | p.Material = Enum.Material.Glacier |
| 382 | p.MaterialVariant = "2022 Stud" |
| 383 | p.Anchored = true |
| 384 | p.Parent = model |
| 385 | end |
| 386 | do |
| 387 | local p = Instance.new("Part") |
| 388 | p.Name = "DoorHandleL" |
| 389 | p.Size = Vector3.new(0.2, 0.3, 0.8) |
| 390 | p.CFrame = CFrame.new(-3.98, 4.5, -2) |
| 391 | p.BrickColor = BrickColor.new("Silver") |
| 392 | p.Material = Enum.Material.Glacier |
| 393 | p.MaterialVariant = "2022 Stud" |
| 394 | p.Anchored = true |
| 395 | p.Parent = model |
| 396 | end |
| 397 | do |
| 398 | local p = Instance.new("Part") |
| 399 | p.Name = "DoorHandleR" |
| 400 | p.Size = Vector3.new(0.2, 0.3, 0.8) |
| 401 | p.CFrame = CFrame.new(3.98, 4.5, -2) |
| 402 | p.BrickColor = BrickColor.new("Silver") |
| 403 | p.Material = Enum.Material.Glacier |
| 404 | p.MaterialVariant = "2022 Stud" |
| 405 | p.Anchored = true |
| 406 | p.Parent = model |
| 407 | end |
| 408 | do |
| 409 | local p = Instance.new("Part") |
| 410 | p.Name = "MirrorL" |
| 411 | p.Size = Vector3.new(0.8, 1.2, 0.4) |
| 412 | p.CFrame = CFrame.new(-4.08, 6, -3) |
| 413 | p.BrickColor = BrickColor.new("Silver") |
| 414 | p.Material = Enum.Material.Glacier |
| 415 | p.MaterialVariant = "2022 Stud" |
| 416 | p.Anchored = true |
| 417 | p.Parent = model |
| 418 | end |
| 419 | do |
| 420 | local p = Instance.new("Part") |
| 421 | p.Name = "MirrorR" |
| 422 | p.Size = Vector3.new(0.8, 1.2, 0.4) |
| 423 | p.CFrame = CFrame.new(4.08, 6, -3) |
| 424 | p.BrickColor = BrickColor.new("Silver") |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Stud" |
| 427 | p.Anchored = true |
| 428 | p.Parent = model |
| 429 | end |
| 430 | do |
| 431 | local p = Instance.new("Part") |
| 432 | p.Name = "BedFloor" |
| 433 | p.Size = Vector3.new(7.6, 0.4, 11) |
| 434 | p.CFrame = CFrame.new(0, 2.5, 5.58) |
| 435 | p.BrickColor = BrickColor.new("Bright red") |
| 436 | p.Material = Enum.Material.Glacier |
| 437 | p.MaterialVariant = "2022 Stud" |
| 438 | p.Anchored = true |
| 439 | p.Parent = model |
| 440 | end |
| 441 | do |
| 442 | local p = Instance.new("Part") |
| 443 | p.Name = "BedFrontWall" |
| 444 | p.Size = Vector3.new(7.6, 2.6, 0.4) |
| 445 | p.CFrame = CFrame.new(-0.04, 4.04, 0.28) |
| 446 | p.BrickColor = BrickColor.new("Bright red") |
| 447 | p.Material = Enum.Material.Glacier |
| 448 | p.MaterialVariant = "2022 Stud" |
| 449 | p.Anchored = true |
| 450 | p.Parent = model |
| 451 | end |
| 452 | do |
| 453 | local p = Instance.new("Part") |
| 454 | p.Name = "BedSideL" |
| 455 | p.Size = Vector3.new(0.4, 2.6, 10.6) |
| 456 | p.CFrame = CFrame.new(-3.6, 4.08, 5.7) |
| 457 | p.BrickColor = BrickColor.new("Bright red") |
| 458 | p.Material = Enum.Material.Glacier |
| 459 | p.MaterialVariant = "2022 Stud" |
| 460 | p.Anchored = true |
| 461 | p.Parent = model |
| 462 | end |
| 463 | do |
| 464 | local p = Instance.new("Part") |
| 465 | p.Name = "BedSideR" |
| 466 | p.Size = Vector3.new(0.4, 2.6, 10.6) |
| 467 | p.CFrame = CFrame.new(3.6, 4.08, 5.7) |
| 468 | p.BrickColor = BrickColor.new("Bright red") |
| 469 | p.Material = Enum.Material.Glacier |
| 470 | p.MaterialVariant = "2022 Stud" |
| 471 | p.Anchored = true |
| 472 | p.Parent = model |
| 473 | end |
| 474 | do |
| 475 | local p = Instance.new("Part") |
| 476 | p.Name = "Tailgate" |
| 477 | p.Size = Vector3.new(7.2, 2.6, 0.4) |
| 478 | p.CFrame = CFrame.new(0, 4.04, 10.84) |
| 479 | p.BrickColor = BrickColor.new("Bright red") |
| 480 | p.Material = Enum.Material.Glacier |
| 481 | p.MaterialVariant = "2022 Stud" |
| 482 | p.Anchored = true |
| 483 | p.Parent = model |
| 484 | end |
| 485 | do |
| 486 | local p = Instance.new("Part") |
| 487 | p.Name = "RailPost_L_1.5" |
| 488 | p.Size = Vector3.new(0.3, 2, 0.4) |
| 489 | p.CFrame = CFrame.new(-3.6, 6.2, 1.5) |
| 490 | p.BrickColor = BrickColor.new("Reddish brown") |
| 491 | p.Material = Enum.Material.Glacier |
| 492 | p.MaterialVariant = "2022 Small Stud" |
| 493 | p.Anchored = true |
| 494 | p.Parent = model |
| 495 | end |
| 496 | do |
| 497 | local p = Instance.new("Part") |
| 498 | p.Name = "RailPost_L_5.5" |
| 499 | p.Size = Vector3.new(0.3, 2, 0.4) |
| 500 | p.CFrame = CFrame.new(-3.6, 6.2, 5.5) |
| 501 | p.BrickColor = BrickColor.new("Reddish brown") |
| 502 | p.Material = Enum.Material.Glacier |
| 503 | p.MaterialVariant = "2022 Small Stud" |
| 504 | p.Anchored = true |
| 505 | p.Parent = model |
| 506 | end |
| 507 | do |
| 508 | local p = Instance.new("Part") |
| 509 | p.Name = "RailPost_L_9.5" |
| 510 | p.Size = Vector3.new(0.3, 2, 0.4) |
| 511 | p.CFrame = CFrame.new(-3.6, 6.2, 9.5) |
| 512 | p.BrickColor = BrickColor.new("Reddish brown") |
| 513 | p.Material = Enum.Material.Glacier |
| 514 | p.MaterialVariant = "2022 Small Stud" |
| 515 | p.Anchored = true |
| 516 | p.Parent = model |
| 517 | end |
| 518 | do |
| 519 | local p = Instance.new("Part") |
| 520 | p.Name = "RailPlank1_L" |
| 521 | p.Size = Vector3.new(0.2, 0.6, 10) |
| 522 | p.CFrame = CFrame.new(-3.4, 5.8, 5.5) |
| 523 | p.BrickColor = BrickColor.new("Reddish brown") |
| 524 | p.Material = Enum.Material.Glacier |
| 525 | p.MaterialVariant = "2022 Small Stud" |
| 526 | p.Anchored = true |
| 527 | p.Parent = model |
| 528 | end |
| 529 | do |
| 530 | local p = Instance.new("Part") |
| 531 | p.Name = "RailPlank2_L" |
| 532 | p.Size = Vector3.new(0.2, 0.6, 10) |
| 533 | p.CFrame = CFrame.new(-3.4, 6.8, 5.5) |
| 534 | p.BrickColor = BrickColor.new("Reddish brown") |
| 535 | p.Material = Enum.Material.Glacier |
| 536 | p.MaterialVariant = "2022 Small Stud" |
| 537 | p.Anchored = true |
| 538 | p.Parent = model |
| 539 | end |
| 540 | do |
| 541 | local p = Instance.new("Part") |
| 542 | p.Name = "RailPost_R_1.5" |
| 543 | p.Size = Vector3.new(0.3, 2, 0.4) |
| 544 | p.CFrame = CFrame.new(3.6, 6.2, 1.5) |
| 545 | p.BrickColor = BrickColor.new("Reddish brown") |
| 546 | p.Material = Enum.Material.Glacier |
| 547 | p.MaterialVariant = "2022 Small Stud" |
| 548 | p.Anchored = true |
| 549 | p.Parent = model |
| 550 | end |
| 551 | do |
| 552 | local p = Instance.new("Part") |
| 553 | p.Name = "RailPost_R_5.5" |
| 554 | p.Size = Vector3.new(0.3, 2, 0.4) |
| 555 | p.CFrame = CFrame.new(3.6, 6.2, 5.5) |
| 556 | p.BrickColor = BrickColor.new("Reddish brown") |
| 557 | p.Material = Enum.Material.Glacier |
| 558 | p.MaterialVariant = "2022 Small Stud" |
| 559 | p.Anchored = true |
| 560 | p.Parent = model |
| 561 | end |
| 562 | do |
| 563 | local p = Instance.new("Part") |
| 564 | p.Name = "RailPost_R_9.5" |
| 565 | p.Size = Vector3.new(0.3, 2, 0.4) |
| 566 | p.CFrame = CFrame.new(3.6, 6.2, 9.5) |
| 567 | p.BrickColor = BrickColor.new("Reddish brown") |
| 568 | p.Material = Enum.Material.Glacier |
| 569 | p.MaterialVariant = "2022 Small Stud" |
| 570 | p.Anchored = true |
| 571 | p.Parent = model |
| 572 | end |
| 573 | do |
| 574 | local p = Instance.new("Part") |
| 575 | p.Name = "RailPlank1_R" |
| 576 | p.Size = Vector3.new(0.2, 0.6, 10) |
| 577 | p.CFrame = CFrame.new(3.4, 5.8, 5.5) |
| 578 | p.BrickColor = BrickColor.new("Reddish brown") |
| 579 | p.Material = Enum.Material.Glacier |
| 580 | p.MaterialVariant = "2022 Small Stud" |
| 581 | p.Anchored = true |
| 582 | p.Parent = model |
| 583 | end |
| 584 | do |
| 585 | local p = Instance.new("Part") |
| 586 | p.Name = "RailPlank2_R" |
| 587 | p.Size = Vector3.new(0.2, 0.6, 10) |
| 588 | p.CFrame = CFrame.new(3.4, 6.8, 5.5) |
| 589 | p.BrickColor = BrickColor.new("Reddish brown") |
| 590 | p.Material = Enum.Material.Glacier |
| 591 | p.MaterialVariant = "2022 Small Stud" |
| 592 | p.Anchored = true |
| 593 | p.Parent = model |
| 594 | end |
| 595 | do |
| 596 | local p = Instance.new("Part") |
| 597 | p.Shape = Enum.PartType.Cylinder |
| 598 | p.Name = "ExhaustPipe" |
| 599 | p.Size = Vector3.new(2, 0.4, 0.4) |
| 600 | p.CFrame = CFrame.new(-2.5, 1, 11) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 601 | p.BrickColor = BrickColor.new("Silver") |
| 602 | p.Material = Enum.Material.Glacier |
| 603 | p.MaterialVariant = "2022 Stud" |
| 604 | p.Anchored = true |
| 605 | p.Parent = model |
| 606 | end |
| 607 | do |
| 608 | local rightV = Vector3.new(0,0,-1).Unit |
| 609 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 610 | local normalV = upV:Cross(rightV) |
| 611 | local pos = Vector3.new(-3.6, 1.83, -7.5) |
| 612 | local cyl = Instance.new("Part") |
| 613 | cyl.Shape = Enum.PartType.Cylinder |
| 614 | cyl.Size = Vector3.new(1.5, 5.6, 5.6) |
| 615 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 616 | cyl.BrickColor = BrickColor.new("Bright red") |
| 617 | cyl.Material = Enum.Material.Glacier |
| 618 | cyl.MaterialVariant = "2022 Stud" |
| 619 | cyl.Anchored = true; cyl.Parent = workspace |
| 620 | local cuts = {} |
| 621 | local hole = Instance.new("Part") |
| 622 | hole.Shape = Enum.PartType.Cylinder |
| 623 | hole.Size = Vector3.new(1.7, 3.6, 3.6) |
| 624 | hole.CFrame = cyl.CFrame |
| 625 | hole.BrickColor = BrickColor.new("Bright red") |
| 626 | hole.Material = Enum.Material.Glacier |
| 627 | hole.MaterialVariant = "2022 Stud" |
| 628 | hole.Anchored = true; hole.Parent = workspace |
| 629 | table.insert(cuts, hole) |
| 630 | local angBoxes = {} |
| 631 | do |
| 632 | local edgeDir = 1*rightV + 0*upV |
| 633 | local edgePerp = 0*rightV + 1*upV |
| 634 | local cut = Instance.new("Part") |
| 635 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 636 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5.6 * edgePerp, edgeDir, normalV) |
| 637 | cut.BrickColor = BrickColor.new("Bright red") |
| 638 | cut.Material = Enum.Material.Glacier |
| 639 | cut.MaterialVariant = "2022 Stud" |
| 640 | cut.Anchored = true; cut.Parent = workspace |
| 641 | table.insert(angBoxes, cut) |
| 642 | end |
| 643 | do |
| 644 | local edgeDir = -1*rightV + 0*upV |
| 645 | local edgePerp = 0*rightV + -1*upV |
| 646 | local cut = Instance.new("Part") |
| 647 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 648 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5.6 * edgePerp, edgeDir, normalV) |
| 649 | cut.BrickColor = BrickColor.new("Bright red") |
| 650 | cut.Material = Enum.Material.Glacier |
| 651 | cut.MaterialVariant = "2022 Stud" |
| 652 | cut.Anchored = true; cut.Parent = workspace |
| 653 | table.insert(angBoxes, cut) |
| 654 | end |
| 655 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 656 | if #cuts > 0 then |
| 657 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 658 | for _, c in ipairs(cuts) do c:Destroy() end |
| 659 | if ok and result then |
| 660 | cyl:Destroy() |
| 661 | result.Name = "Fender_FL"; result.Anchored = true; result.Parent = model |
| 662 | else |
| 663 | cyl.Name = "Fender_FL"; cyl.Parent = model |
| 664 | end |
| 665 | else |
| 666 | cyl.Name = "Fender_FL"; cyl.Parent = model |
| 667 | end |
| 668 | end |
| 669 | do |
| 670 | local rightV = Vector3.new(0,0,1).Unit |
| 671 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 672 | local normalV = upV:Cross(rightV) |
| 673 | local pos = Vector3.new(3.6, 1.83, -7.5) |
| 674 | local cyl = Instance.new("Part") |
| 675 | cyl.Shape = Enum.PartType.Cylinder |
| 676 | cyl.Size = Vector3.new(1.5, 5.6, 5.6) |
| 677 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 678 | cyl.BrickColor = BrickColor.new("Bright red") |
| 679 | cyl.Material = Enum.Material.Glacier |
| 680 | cyl.MaterialVariant = "2022 Stud" |
| 681 | cyl.Anchored = true; cyl.Parent = workspace |
| 682 | local cuts = {} |
| 683 | local hole = Instance.new("Part") |
| 684 | hole.Shape = Enum.PartType.Cylinder |
| 685 | hole.Size = Vector3.new(1.7, 3.6, 3.6) |
| 686 | hole.CFrame = cyl.CFrame |
| 687 | hole.BrickColor = BrickColor.new("Bright red") |
| 688 | hole.Material = Enum.Material.Glacier |
| 689 | hole.MaterialVariant = "2022 Stud" |
| 690 | hole.Anchored = true; hole.Parent = workspace |
| 691 | table.insert(cuts, hole) |
| 692 | local angBoxes = {} |
| 693 | do |
| 694 | local edgeDir = 1*rightV + 0*upV |
| 695 | local edgePerp = 0*rightV + 1*upV |
| 696 | local cut = Instance.new("Part") |
| 697 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 698 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5.6 * edgePerp, edgeDir, normalV) |
| 699 | cut.BrickColor = BrickColor.new("Bright red") |
| 700 | cut.Material = Enum.Material.Glacier |
| 701 | cut.MaterialVariant = "2022 Stud" |
| 702 | cut.Anchored = true; cut.Parent = workspace |
| 703 | table.insert(angBoxes, cut) |
| 704 | end |
| 705 | do |
| 706 | local edgeDir = -1*rightV + 0*upV |
| 707 | local edgePerp = 0*rightV + -1*upV |
| 708 | local cut = Instance.new("Part") |
| 709 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 710 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5.6 * edgePerp, edgeDir, normalV) |
| 711 | cut.BrickColor = BrickColor.new("Bright red") |
| 712 | cut.Material = Enum.Material.Glacier |
| 713 | cut.MaterialVariant = "2022 Stud" |
| 714 | cut.Anchored = true; cut.Parent = workspace |
| 715 | table.insert(angBoxes, cut) |
| 716 | end |
| 717 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 718 | if #cuts > 0 then |
| 719 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 720 | for _, c in ipairs(cuts) do c:Destroy() end |
| 721 | if ok and result then |
| 722 | cyl:Destroy() |
| 723 | result.Name = "Fender_FR"; result.Anchored = true; result.Parent = model |
| 724 | else |
| 725 | cyl.Name = "Fender_FR"; cyl.Parent = model |
| 726 | end |
| 727 | else |
| 728 | cyl.Name = "Fender_FR"; cyl.Parent = model |
| 729 | end |
| 730 | end |
| 731 | do |
| 732 | local rightV = Vector3.new(0,0,-1).Unit |
| 733 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 734 | local normalV = upV:Cross(rightV) |
| 735 | local pos = Vector3.new(-3.6, 1.83, 6.5) |
| 736 | local cyl = Instance.new("Part") |
| 737 | cyl.Shape = Enum.PartType.Cylinder |
| 738 | cyl.Size = Vector3.new(1.5, 5.6, 5.6) |
| 739 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 740 | cyl.BrickColor = BrickColor.new("Bright red") |
| 741 | cyl.Material = Enum.Material.Glacier |
| 742 | cyl.MaterialVariant = "2022 Stud" |
| 743 | cyl.Anchored = true; cyl.Parent = workspace |
| 744 | local cuts = {} |
| 745 | local hole = Instance.new("Part") |
| 746 | hole.Shape = Enum.PartType.Cylinder |
| 747 | hole.Size = Vector3.new(1.7, 3.6, 3.6) |
| 748 | hole.CFrame = cyl.CFrame |
| 749 | hole.BrickColor = BrickColor.new("Bright red") |
| 750 | hole.Material = Enum.Material.Glacier |
| 751 | hole.MaterialVariant = "2022 Stud" |
| 752 | hole.Anchored = true; hole.Parent = workspace |
| 753 | table.insert(cuts, hole) |
| 754 | local angBoxes = {} |
| 755 | do |
| 756 | local edgeDir = 1*rightV + 0*upV |
| 757 | local edgePerp = 0*rightV + 1*upV |
| 758 | local cut = Instance.new("Part") |
| 759 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 760 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5.6 * edgePerp, edgeDir, normalV) |
| 761 | cut.BrickColor = BrickColor.new("Bright red") |
| 762 | cut.Material = Enum.Material.Glacier |
| 763 | cut.MaterialVariant = "2022 Stud" |
| 764 | cut.Anchored = true; cut.Parent = workspace |
| 765 | table.insert(angBoxes, cut) |
| 766 | end |
| 767 | do |
| 768 | local edgeDir = -1*rightV + 0*upV |
| 769 | local edgePerp = 0*rightV + -1*upV |
| 770 | local cut = Instance.new("Part") |
| 771 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 772 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5.6 * edgePerp, edgeDir, normalV) |
| 773 | cut.BrickColor = BrickColor.new("Bright red") |
| 774 | cut.Material = Enum.Material.Glacier |
| 775 | cut.MaterialVariant = "2022 Stud" |
| 776 | cut.Anchored = true; cut.Parent = workspace |
| 777 | table.insert(angBoxes, cut) |
| 778 | end |
| 779 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 780 | if #cuts > 0 then |
| 781 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 782 | for _, c in ipairs(cuts) do c:Destroy() end |
| 783 | if ok and result then |
| 784 | cyl:Destroy() |
| 785 | result.Name = "Fender_RL"; result.Anchored = true; result.Parent = model |
| 786 | else |
| 787 | cyl.Name = "Fender_RL"; cyl.Parent = model |
| 788 | end |
| 789 | else |
| 790 | cyl.Name = "Fender_RL"; cyl.Parent = model |
| 791 | end |
| 792 | end |
| 793 | do |
| 794 | local rightV = Vector3.new(0,0,1).Unit |
| 795 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 796 | local normalV = upV:Cross(rightV) |
| 797 | local pos = Vector3.new(3.6, 1.83, 6.5) |
| 798 | local cyl = Instance.new("Part") |
| 799 | cyl.Shape = Enum.PartType.Cylinder |
| 800 | cyl.Size = Vector3.new(1.5, 5.6, 5.6) |
| 801 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 802 | cyl.BrickColor = BrickColor.new("Bright red") |
| 803 | cyl.Material = Enum.Material.Glacier |
| 804 | cyl.MaterialVariant = "2022 Stud" |
| 805 | cyl.Anchored = true; cyl.Parent = workspace |
| 806 | local cuts = {} |
| 807 | local hole = Instance.new("Part") |
| 808 | hole.Shape = Enum.PartType.Cylinder |
| 809 | hole.Size = Vector3.new(1.7, 3.6, 3.6) |
| 810 | hole.CFrame = cyl.CFrame |
| 811 | hole.BrickColor = BrickColor.new("Bright red") |
| 812 | hole.Material = Enum.Material.Glacier |
| 813 | hole.MaterialVariant = "2022 Stud" |
| 814 | hole.Anchored = true; hole.Parent = workspace |
| 815 | table.insert(cuts, hole) |
| 816 | local angBoxes = {} |
| 817 | do |
| 818 | local edgeDir = 1*rightV + 0*upV |
| 819 | local edgePerp = 0*rightV + 1*upV |
| 820 | local cut = Instance.new("Part") |
| 821 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 822 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5.6 * edgePerp, edgeDir, normalV) |
| 823 | cut.BrickColor = BrickColor.new("Bright red") |
| 824 | cut.Material = Enum.Material.Glacier |
| 825 | cut.MaterialVariant = "2022 Stud" |
| 826 | cut.Anchored = true; cut.Parent = workspace |
| 827 | table.insert(angBoxes, cut) |
| 828 | end |
| 829 | do |
| 830 | local edgeDir = -1*rightV + 0*upV |
| 831 | local edgePerp = 0*rightV + -1*upV |
| 832 | local cut = Instance.new("Part") |
| 833 | cut.Size = Vector3.new(11.2, 1.7, 11.2) |
| 834 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5.6 * edgePerp, edgeDir, normalV) |
| 835 | cut.BrickColor = BrickColor.new("Bright red") |
| 836 | cut.Material = Enum.Material.Glacier |
| 837 | cut.MaterialVariant = "2022 Stud" |
| 838 | cut.Anchored = true; cut.Parent = workspace |
| 839 | table.insert(angBoxes, cut) |
| 840 | end |
| 841 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 842 | if #cuts > 0 then |
| 843 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 844 | for _, c in ipairs(cuts) do c:Destroy() end |
| 845 | if ok and result then |
| 846 | cyl:Destroy() |
| 847 | result.Name = "Fender_RR"; result.Anchored = true; result.Parent = model |
| 848 | else |
| 849 | cyl.Name = "Fender_RR"; cyl.Parent = model |
| 850 | end |
| 851 | else |
| 852 | cyl.Name = "Fender_RR"; cyl.Parent = model |
| 853 | end |
| 854 | end |
| 855 | model.PrimaryPart = model:FindFirstChild("Chassis") |
| 856 | print("ClassicRedPickup built: " .. #model:GetChildren() .. " parts") |
Loading comments...