Loading model...
by Jules-amatheo Rey · 4/5/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: ModernSedan |
| 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 = "ModernSedan" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Medium stone grey"] = "2022 Inlet", |
| 26 | ["Really black"] = "2022 Universal", |
| 27 | ["Silver"] = "2022 Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Name = "Chassis" |
| 32 | p.Size = Vector3.new(9, 1, 22) |
| 33 | p.CFrame = CFrame.new(0, 0.96, 0) |
| 34 | p.BrickColor = BrickColor.new("Really black") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Universal" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "BodyCore" |
| 43 | p.Size = Vector3.new(9.6, 2, 12) |
| 44 | p.CFrame = CFrame.new(0, 2.5, 0) |
| 45 | p.BrickColor = BrickColor.new("Bright blue") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Universal" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Name = "FrontBody" |
| 54 | p.Size = Vector3.new(9.6, 2, 5) |
| 55 | p.CFrame = CFrame.new(0, 2.54, -8.54) |
| 56 | p.BrickColor = BrickColor.new("Bright blue") |
| 57 | p.Material = Enum.Material.Glacier |
| 58 | p.MaterialVariant = "2022 Universal" |
| 59 | p.Anchored = true |
| 60 | p.Parent = model |
| 61 | end |
| 62 | do |
| 63 | local p = Instance.new("Part") |
| 64 | p.Name = "HoodSlope" |
| 65 | p.Size = Vector3.new(9.6, 0.5, 7) |
| 66 | p.CFrame = CFrame.new(0.04, 3.75, -7.5) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)) |
| 67 | p.BrickColor = BrickColor.new("Bright blue") |
| 68 | p.Material = Enum.Material.Glacier |
| 69 | p.MaterialVariant = "2022 Universal" |
| 70 | p.Anchored = true |
| 71 | p.Parent = model |
| 72 | end |
| 73 | do |
| 74 | local p = Instance.new("Part") |
| 75 | p.Name = "RearBody" |
| 76 | p.Size = Vector3.new(9.6, 2, 5) |
| 77 | p.CFrame = CFrame.new(0, 2.54, 8.54) |
| 78 | p.BrickColor = BrickColor.new("Bright blue") |
| 79 | p.Material = Enum.Material.Glacier |
| 80 | p.MaterialVariant = "2022 Universal" |
| 81 | p.Anchored = true |
| 82 | p.Parent = model |
| 83 | end |
| 84 | do |
| 85 | local p = Instance.new("Part") |
| 86 | p.Name = "TrunkSlope" |
| 87 | p.Size = Vector3.new(9.6, 0.5, 6) |
| 88 | p.CFrame = CFrame.new(0.04, 3.75, 8) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)) |
| 89 | p.BrickColor = BrickColor.new("Bright blue") |
| 90 | p.Material = Enum.Material.Glacier |
| 91 | p.MaterialVariant = "2022 Universal" |
| 92 | p.Anchored = true |
| 93 | p.Parent = model |
| 94 | end |
| 95 | do |
| 96 | local p = Instance.new("Part") |
| 97 | p.Name = "CabinCore" |
| 98 | p.Size = Vector3.new(8.4, 2, 9) |
| 99 | p.CFrame = CFrame.new(0, 4.54, 0.5) |
| 100 | p.BrickColor = BrickColor.new("Really black") |
| 101 | p.Material = Enum.Material.Glacier |
| 102 | p.MaterialVariant = "2022 Universal" |
| 103 | p.Anchored = true |
| 104 | p.Parent = model |
| 105 | end |
| 106 | do |
| 107 | local p = Instance.new("Part") |
| 108 | p.Name = "Roof" |
| 109 | p.Size = Vector3.new(8.4, 0.5, 6) |
| 110 | p.CFrame = CFrame.new(-0.04, 5.83, 0.5) |
| 111 | p.BrickColor = BrickColor.new("Bright blue") |
| 112 | p.Material = Enum.Material.Glacier |
| 113 | p.MaterialVariant = "2022 Universal" |
| 114 | p.Anchored = true |
| 115 | p.Parent = model |
| 116 | end |
| 117 | do |
| 118 | local p = Instance.new("Part") |
| 119 | p.Name = "Windshield" |
| 120 | p.Size = Vector3.new(8.4, 2.5, 3.5) |
| 121 | p.CFrame = CFrame.new(0.04, 4.6, -3.5) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)) |
| 122 | p.BrickColor = BrickColor.new("Really black") |
| 123 | p.Material = Enum.Material.Glacier |
| 124 | p.MaterialVariant = "2022 Universal" |
| 125 | p.Anchored = true |
| 126 | p.Parent = model |
| 127 | end |
| 128 | do |
| 129 | local p = Instance.new("Part") |
| 130 | p.Name = "RearWindow" |
| 131 | p.Size = Vector3.new(8.4, 2.5, 3.5) |
| 132 | p.CFrame = CFrame.new(0.04, 4.6, 4.5) * CFrame.Angles(math.rad(-22), math.rad(0), math.rad(0)) |
| 133 | p.BrickColor = BrickColor.new("Really black") |
| 134 | p.Material = Enum.Material.Glacier |
| 135 | p.MaterialVariant = "2022 Universal" |
| 136 | p.Anchored = true |
| 137 | p.Parent = model |
| 138 | end |
| 139 | do |
| 140 | local p = Instance.new("Part") |
| 141 | p.Name = "CPillarL" |
| 142 | p.Size = Vector3.new(0.6, 2.5, 3.5) |
| 143 | p.CFrame = CFrame.new(-3.98, 4.644206, 4.395857) * CFrame.Angles(math.rad(-22), math.rad(0), math.rad(0)) |
| 144 | p.BrickColor = BrickColor.new("Bright blue") |
| 145 | p.Material = Enum.Material.Glacier |
| 146 | p.MaterialVariant = "2022 Universal" |
| 147 | p.Anchored = true |
| 148 | p.Parent = model |
| 149 | end |
| 150 | do |
| 151 | local p = Instance.new("Part") |
| 152 | p.Name = "CPillarR" |
| 153 | p.Size = Vector3.new(0.6, 2.5, 3.5) |
| 154 | p.CFrame = CFrame.new(3.98, 4.644206, 4.395857) * CFrame.Angles(math.rad(-22), math.rad(0), math.rad(0)) |
| 155 | p.BrickColor = BrickColor.new("Bright blue") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Universal" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Name = "APillarL" |
| 164 | p.Size = Vector3.new(0.6, 2.5, 3.5) |
| 165 | p.CFrame = CFrame.new(-3.98, 4.706314, -3.538695) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)) |
| 166 | p.BrickColor = BrickColor.new("Bright blue") |
| 167 | p.Material = Enum.Material.Glacier |
| 168 | p.MaterialVariant = "2022 Universal" |
| 169 | p.Anchored = true |
| 170 | p.Parent = model |
| 171 | end |
| 172 | do |
| 173 | local p = Instance.new("Part") |
| 174 | p.Name = "APillarR" |
| 175 | p.Size = Vector3.new(0.6, 2.5, 3.5) |
| 176 | p.CFrame = CFrame.new(3.98, 4.706314, -3.538695) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)) |
| 177 | p.BrickColor = BrickColor.new("Bright blue") |
| 178 | p.Material = Enum.Material.Glacier |
| 179 | p.MaterialVariant = "2022 Universal" |
| 180 | p.Anchored = true |
| 181 | p.Parent = model |
| 182 | end |
| 183 | do |
| 184 | local p = Instance.new("Part") |
| 185 | p.Shape = Enum.PartType.Cylinder |
| 186 | p.Name = "TireFL" |
| 187 | p.Size = Vector3.new(1.2, 3.6, 3.6) |
| 188 | p.CFrame = CFrame.new(-4.6, 1.5, -7.5) |
| 189 | p.BrickColor = BrickColor.new("Really black") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Universal" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Shape = Enum.PartType.Cylinder |
| 198 | p.Name = "TireFR" |
| 199 | p.Size = Vector3.new(1.2, 3.6, 3.6) |
| 200 | p.CFrame = CFrame.new(4.6, 1.5, -7.5) |
| 201 | p.BrickColor = BrickColor.new("Really black") |
| 202 | p.Material = Enum.Material.Glacier |
| 203 | p.MaterialVariant = "2022 Universal" |
| 204 | p.Anchored = true |
| 205 | p.Parent = model |
| 206 | end |
| 207 | do |
| 208 | local p = Instance.new("Part") |
| 209 | p.Shape = Enum.PartType.Cylinder |
| 210 | p.Name = "TireRL" |
| 211 | p.Size = Vector3.new(1.2, 3.6, 3.6) |
| 212 | p.CFrame = CFrame.new(-4.6, 1.5, 7.5) |
| 213 | p.BrickColor = BrickColor.new("Really black") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Universal" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Shape = Enum.PartType.Cylinder |
| 222 | p.Name = "TireRR" |
| 223 | p.Size = Vector3.new(1.2, 3.6, 3.6) |
| 224 | p.CFrame = CFrame.new(4.6, 1.5, 7.5) |
| 225 | p.BrickColor = BrickColor.new("Really black") |
| 226 | p.Material = Enum.Material.Glacier |
| 227 | p.MaterialVariant = "2022 Universal" |
| 228 | p.Anchored = true |
| 229 | p.Parent = model |
| 230 | end |
| 231 | do |
| 232 | local p = Instance.new("Part") |
| 233 | p.Shape = Enum.PartType.Cylinder |
| 234 | p.Name = "RimFL" |
| 235 | p.Size = Vector3.new(1.1, 2.8, 2.8) |
| 236 | p.CFrame = CFrame.new(-4.7, 1.5, -7.5) |
| 237 | p.BrickColor = BrickColor.new("Silver") |
| 238 | p.Material = Enum.Material.Glacier |
| 239 | p.MaterialVariant = "2022 Stud" |
| 240 | p.Anchored = true |
| 241 | p.Parent = model |
| 242 | end |
| 243 | do |
| 244 | local p = Instance.new("Part") |
| 245 | p.Shape = Enum.PartType.Cylinder |
| 246 | p.Name = "RimFR" |
| 247 | p.Size = Vector3.new(1.1, 2.8, 2.8) |
| 248 | p.CFrame = CFrame.new(4.7, 1.5, -7.5) |
| 249 | p.BrickColor = BrickColor.new("Silver") |
| 250 | p.Material = Enum.Material.Glacier |
| 251 | p.MaterialVariant = "2022 Stud" |
| 252 | p.Anchored = true |
| 253 | p.Parent = model |
| 254 | end |
| 255 | do |
| 256 | local p = Instance.new("Part") |
| 257 | p.Shape = Enum.PartType.Cylinder |
| 258 | p.Name = "RimRL" |
| 259 | p.Size = Vector3.new(1.1, 2.8, 2.8) |
| 260 | p.CFrame = CFrame.new(-4.74, 1.5, 7.5) |
| 261 | p.BrickColor = BrickColor.new("Silver") |
| 262 | p.Material = Enum.Material.Glacier |
| 263 | p.MaterialVariant = "2022 Stud" |
| 264 | p.Anchored = true |
| 265 | p.Parent = model |
| 266 | end |
| 267 | do |
| 268 | local p = Instance.new("Part") |
| 269 | p.Shape = Enum.PartType.Cylinder |
| 270 | p.Name = "RimRR" |
| 271 | p.Size = Vector3.new(1.1, 2.8, 2.8) |
| 272 | p.CFrame = CFrame.new(4.74, 1.5, 7.5) |
| 273 | p.BrickColor = BrickColor.new("Silver") |
| 274 | p.Material = Enum.Material.Glacier |
| 275 | p.MaterialVariant = "2022 Stud" |
| 276 | p.Anchored = true |
| 277 | p.Parent = model |
| 278 | end |
| 279 | do |
| 280 | local p = Instance.new("Part") |
| 281 | p.Name = "LowerIntake" |
| 282 | p.Size = Vector3.new(7, 1, 0.5) |
| 283 | p.CFrame = CFrame.new(0, 1.5, -11.1) |
| 284 | p.BrickColor = BrickColor.new("Really black") |
| 285 | p.Material = Enum.Material.Glacier |
| 286 | p.MaterialVariant = "2022 Universal" |
| 287 | p.Anchored = true |
| 288 | p.Parent = model |
| 289 | end |
| 290 | do |
| 291 | local p = Instance.new("Part") |
| 292 | p.Name = "GrilleL_Trim" |
| 293 | p.Size = Vector3.new(2.4, 1.2, 0.2) |
| 294 | p.CFrame = CFrame.new(-1.5, 2.8, -11.18) |
| 295 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 296 | p.Material = Enum.Material.Glacier |
| 297 | p.MaterialVariant = "2022 Inlet" |
| 298 | p.Anchored = true |
| 299 | p.Parent = model |
| 300 | end |
| 301 | do |
| 302 | local p = Instance.new("Part") |
| 303 | p.Name = "GrilleR_Trim" |
| 304 | p.Size = Vector3.new(2.4, 1.2, 0.2) |
| 305 | p.CFrame = CFrame.new(1.5, 2.8, -11.18) |
| 306 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 307 | p.Material = Enum.Material.Glacier |
| 308 | p.MaterialVariant = "2022 Inlet" |
| 309 | p.Anchored = true |
| 310 | p.Parent = model |
| 311 | end |
| 312 | do |
| 313 | local p = Instance.new("Part") |
| 314 | p.Name = "GrilleL_Inner" |
| 315 | p.Size = Vector3.new(2, 0.8, 0.3) |
| 316 | p.CFrame = CFrame.new(-1.5, 2.8, -11.28) |
| 317 | p.BrickColor = BrickColor.new("Really black") |
| 318 | p.Material = Enum.Material.Glacier |
| 319 | p.MaterialVariant = "2022 Universal" |
| 320 | p.Anchored = true |
| 321 | p.Parent = model |
| 322 | end |
| 323 | do |
| 324 | local p = Instance.new("Part") |
| 325 | p.Name = "GrilleR_Inner" |
| 326 | p.Size = Vector3.new(2, 0.8, 0.3) |
| 327 | p.CFrame = CFrame.new(1.5, 2.8, -11.28) |
| 328 | p.BrickColor = BrickColor.new("Really black") |
| 329 | p.Material = Enum.Material.Glacier |
| 330 | p.MaterialVariant = "2022 Universal" |
| 331 | p.Anchored = true |
| 332 | p.Parent = model |
| 333 | end |
| 334 | do |
| 335 | local p = Instance.new("Part") |
| 336 | p.Name = "HeadlightL" |
| 337 | p.Size = Vector3.new(2, 0.6, 0.4) |
| 338 | p.CFrame = CFrame.new(-3.88, 2.9, -11) |
| 339 | p.BrickColor = BrickColor.new("Institutional white") |
| 340 | p.Material = Enum.Material.Neon |
| 341 | p.Anchored = true |
| 342 | p.Parent = model |
| 343 | end |
| 344 | do |
| 345 | local p = Instance.new("Part") |
| 346 | p.Name = "HeadlightR" |
| 347 | p.Size = Vector3.new(2, 0.6, 0.4) |
| 348 | p.CFrame = CFrame.new(3.88, 2.9, -11) |
| 349 | p.BrickColor = BrickColor.new("Institutional white") |
| 350 | p.Material = Enum.Material.Neon |
| 351 | p.Anchored = true |
| 352 | p.Parent = model |
| 353 | end |
| 354 | do |
| 355 | local p = Instance.new("Part") |
| 356 | p.Name = "TaillightL" |
| 357 | p.Size = Vector3.new(2.5, 0.6, 0.4) |
| 358 | p.CFrame = CFrame.new(-3.5, 3, 11) |
| 359 | p.BrickColor = BrickColor.new("Bright red") |
| 360 | p.Material = Enum.Material.Neon |
| 361 | p.Anchored = true |
| 362 | p.Parent = model |
| 363 | end |
| 364 | do |
| 365 | local p = Instance.new("Part") |
| 366 | p.Name = "TaillightR" |
| 367 | p.Size = Vector3.new(2.5, 0.6, 0.4) |
| 368 | p.CFrame = CFrame.new(3.5, 3, 11) |
| 369 | p.BrickColor = BrickColor.new("Bright red") |
| 370 | p.Material = Enum.Material.Neon |
| 371 | p.Anchored = true |
| 372 | p.Parent = model |
| 373 | end |
| 374 | do |
| 375 | local p = Instance.new("Part") |
| 376 | p.Name = "ExhaustL" |
| 377 | p.Size = Vector3.new(1.2, 0.6, 0.5) |
| 378 | p.CFrame = CFrame.new(-3, 1.28, 11) |
| 379 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 380 | p.Material = Enum.Material.Glacier |
| 381 | p.MaterialVariant = "2022 Inlet" |
| 382 | p.Anchored = true |
| 383 | p.Parent = model |
| 384 | end |
| 385 | do |
| 386 | local p = Instance.new("Part") |
| 387 | p.Name = "ExhaustR" |
| 388 | p.Size = Vector3.new(1.2, 0.6, 0.5) |
| 389 | p.CFrame = CFrame.new(3, 1.28, 11) |
| 390 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 391 | p.Material = Enum.Material.Glacier |
| 392 | p.MaterialVariant = "2022 Inlet" |
| 393 | p.Anchored = true |
| 394 | p.Parent = model |
| 395 | end |
| 396 | do |
| 397 | local p = Instance.new("Part") |
| 398 | p.Name = "ExhaustHoleL" |
| 399 | p.Size = Vector3.new(0.8, 0.4, 0.4) |
| 400 | p.CFrame = CFrame.new(-3, 1.2, 11.1) |
| 401 | p.BrickColor = BrickColor.new("Really black") |
| 402 | p.Material = Enum.Material.Glacier |
| 403 | p.MaterialVariant = "2022 Universal" |
| 404 | p.Anchored = true |
| 405 | p.Parent = model |
| 406 | end |
| 407 | do |
| 408 | local p = Instance.new("Part") |
| 409 | p.Name = "ExhaustHoleR" |
| 410 | p.Size = Vector3.new(0.8, 0.4, 0.4) |
| 411 | p.CFrame = CFrame.new(3, 1.2, 11.1) |
| 412 | p.BrickColor = BrickColor.new("Really black") |
| 413 | p.Material = Enum.Material.Glacier |
| 414 | p.MaterialVariant = "2022 Universal" |
| 415 | p.Anchored = true |
| 416 | p.Parent = model |
| 417 | end |
| 418 | do |
| 419 | local p = Instance.new("Part") |
| 420 | p.Name = "PlateFront" |
| 421 | p.Size = Vector3.new(2.5, 0.8, 0.2) |
| 422 | p.CFrame = CFrame.new(0, 1.96, -11.2) |
| 423 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 424 | p.Material = Enum.Material.Glacier |
| 425 | p.MaterialVariant = "2022 Inlet" |
| 426 | p.Anchored = true |
| 427 | p.Parent = model |
| 428 | end |
| 429 | do |
| 430 | local p = Instance.new("Part") |
| 431 | p.Name = "PlateRear" |
| 432 | p.Size = Vector3.new(3, 1, 0.2) |
| 433 | p.CFrame = CFrame.new(0, 2.5, 11.18) |
| 434 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 435 | p.Material = Enum.Material.Glacier |
| 436 | p.MaterialVariant = "2022 Inlet" |
| 437 | p.Anchored = true |
| 438 | p.Parent = model |
| 439 | end |
| 440 | model.PrimaryPart = model:FindFirstChild("BodyCore") |
| 441 | print("ModernSedan built: " .. #model:GetChildren() .. " parts") |
Loading comments...