Loading model...
by Pluto · 5/2/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: FlyingSaucer |
| 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 = "FlyingSaucer" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark stone grey"] = "2022 Weld", |
| 25 | ["Medium stone grey"] = "2022 Glue", |
| 26 | ["Really black"] = "2022 Universal", |
| 27 | } |
| 28 | do |
| 29 | local p = Instance.new("Part") |
| 30 | p.Shape = Enum.PartType.Cylinder |
| 31 | p.Name = "OuterRim" |
| 32 | p.Size = Vector3.new(1, 40.2, 40.2) |
| 33 | p.CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 34 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Weld" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Shape = Enum.PartType.Cylinder |
| 43 | p.Name = "RimGlow" |
| 44 | p.Size = Vector3.new(0.5, 40.4, 40.4) |
| 45 | p.CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 46 | p.BrickColor = BrickColor.new("Toothpaste") |
| 47 | p.Material = Enum.Material.Neon |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Shape = Enum.PartType.Cylinder |
| 54 | p.Name = "MidRingBase" |
| 55 | p.Size = Vector3.new(2, 28, 28) |
| 56 | p.CFrame = CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 57 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Weld" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Shape = Enum.PartType.Cylinder |
| 66 | p.Name = "MidRingTop" |
| 67 | p.Size = Vector3.new(1, 27, 27) |
| 68 | p.CFrame = CFrame.new(0, 2.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 69 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 70 | p.Material = Enum.Material.Glacier |
| 71 | p.MaterialVariant = "2022 Glue" |
| 72 | p.Anchored = true |
| 73 | p.Parent = model |
| 74 | end |
| 75 | do |
| 76 | local p = Instance.new("Part") |
| 77 | p.Shape = Enum.PartType.Cylinder |
| 78 | p.Name = "InnerRingBase" |
| 79 | p.Size = Vector3.new(2, 16, 16) |
| 80 | p.CFrame = CFrame.new(0, 4.08, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 81 | p.BrickColor = BrickColor.new("Really black") |
| 82 | p.Material = Enum.Material.Glacier |
| 83 | p.MaterialVariant = "2022 Universal" |
| 84 | p.Anchored = true |
| 85 | p.Parent = model |
| 86 | end |
| 87 | do |
| 88 | local p = Instance.new("Part") |
| 89 | p.Shape = Enum.PartType.Cylinder |
| 90 | p.Name = "InnerRingTop" |
| 91 | p.Size = Vector3.new(1, 14, 14) |
| 92 | p.CFrame = CFrame.new(0, 4.96, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 93 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Weld" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Shape = Enum.PartType.Cylinder |
| 102 | p.Name = "CenterCap" |
| 103 | p.Size = Vector3.new(0.5, 8, 8) |
| 104 | p.CFrame = CFrame.new(0, 6.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 105 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 106 | p.Material = Enum.Material.Glacier |
| 107 | p.MaterialVariant = "2022 Weld" |
| 108 | p.Anchored = true |
| 109 | p.Parent = model |
| 110 | end |
| 111 | do |
| 112 | local p = Instance.new("Part") |
| 113 | p.Shape = Enum.PartType.Cylinder |
| 114 | p.Name = "CenterGlow" |
| 115 | p.Size = Vector3.new(0.2, 6, 6) |
| 116 | p.CFrame = CFrame.new(0, 6.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 117 | p.BrickColor = BrickColor.new("Toothpaste") |
| 118 | p.Material = Enum.Material.Neon |
| 119 | p.Anchored = true |
| 120 | p.Parent = model |
| 121 | end |
| 122 | do |
| 123 | local p = Instance.new("Part") |
| 124 | p.Name = "NodeHousing_0" |
| 125 | p.Size = Vector3.new(2, 1.5, 2) |
| 126 | p.CFrame = CFrame.new(12, 3, 0) |
| 127 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 128 | p.Material = Enum.Material.Glacier |
| 129 | p.MaterialVariant = "2022 Weld" |
| 130 | p.Anchored = true |
| 131 | p.Parent = model |
| 132 | end |
| 133 | do |
| 134 | local p = Instance.new("Part") |
| 135 | p.Shape = Enum.PartType.Ball |
| 136 | p.Name = "NodeGlow_0" |
| 137 | p.Size = Vector3.new(1, 1, 1) |
| 138 | p.CFrame = CFrame.new(12, 3.5, 0) |
| 139 | p.BrickColor = BrickColor.new("Toothpaste") |
| 140 | p.Material = Enum.Material.Neon |
| 141 | p.Anchored = true |
| 142 | p.Parent = model |
| 143 | end |
| 144 | do |
| 145 | local p = Instance.new("Part") |
| 146 | p.Name = "PanelLine_0" |
| 147 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 148 | p.CFrame = CFrame.new(16.75, 1.25, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15.2551)) |
| 149 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 150 | p.Material = Enum.Material.Glacier |
| 151 | p.MaterialVariant = "2022 Weld" |
| 152 | p.Anchored = true |
| 153 | p.Parent = model |
| 154 | end |
| 155 | do |
| 156 | local p = Instance.new("Part") |
| 157 | p.Name = "VentFin_0" |
| 158 | p.Size = Vector3.new(2, 1, 0.5) |
| 159 | p.CFrame = CFrame.new(6.9291, 4.5, -2.87013) * CFrame.Angles(math.rad(0), math.rad(22.5), math.rad(15)) |
| 160 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 161 | p.Material = Enum.Material.Glacier |
| 162 | p.MaterialVariant = "2022 Weld" |
| 163 | p.Anchored = true |
| 164 | p.Parent = model |
| 165 | end |
| 166 | do |
| 167 | local p = Instance.new("Part") |
| 168 | p.Name = "NodeHousing_1" |
| 169 | p.Size = Vector3.new(2, 1.5, 2) |
| 170 | p.CFrame = CFrame.new(8.48528, 3, -8.48528) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 171 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 172 | p.Material = Enum.Material.Glacier |
| 173 | p.MaterialVariant = "2022 Weld" |
| 174 | p.Anchored = true |
| 175 | p.Parent = model |
| 176 | end |
| 177 | do |
| 178 | local p = Instance.new("Part") |
| 179 | p.Shape = Enum.PartType.Ball |
| 180 | p.Name = "NodeGlow_1" |
| 181 | p.Size = Vector3.new(1, 1, 1) |
| 182 | p.CFrame = CFrame.new(8.48528, 3.5, -8.48528) |
| 183 | p.BrickColor = BrickColor.new("Toothpaste") |
| 184 | p.Material = Enum.Material.Neon |
| 185 | p.Anchored = true |
| 186 | p.Parent = model |
| 187 | end |
| 188 | do |
| 189 | local p = Instance.new("Part") |
| 190 | p.Name = "PanelLine_1" |
| 191 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 192 | p.CFrame = CFrame.new(11.844, 1.25, -11.844) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-15.2551)) |
| 193 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 194 | p.Material = Enum.Material.Glacier |
| 195 | p.MaterialVariant = "2022 Weld" |
| 196 | p.Anchored = true |
| 197 | p.Parent = model |
| 198 | end |
| 199 | do |
| 200 | local p = Instance.new("Part") |
| 201 | p.Name = "VentFin_1" |
| 202 | p.Size = Vector3.new(2, 1, 0.5) |
| 203 | p.CFrame = CFrame.new(2.87013, 4.5, -6.9291) * CFrame.Angles(math.rad(0), math.rad(67.5), math.rad(15)) |
| 204 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 205 | p.Material = Enum.Material.Glacier |
| 206 | p.MaterialVariant = "2022 Weld" |
| 207 | p.Anchored = true |
| 208 | p.Parent = model |
| 209 | end |
| 210 | do |
| 211 | local p = Instance.new("Part") |
| 212 | p.Name = "NodeHousing_2" |
| 213 | p.Size = Vector3.new(2, 1.5, 2) |
| 214 | p.CFrame = CFrame.new(0, 3, -12) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 215 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 216 | p.Material = Enum.Material.Glacier |
| 217 | p.MaterialVariant = "2022 Weld" |
| 218 | p.Anchored = true |
| 219 | p.Parent = model |
| 220 | end |
| 221 | do |
| 222 | local p = Instance.new("Part") |
| 223 | p.Shape = Enum.PartType.Ball |
| 224 | p.Name = "NodeGlow_2" |
| 225 | p.Size = Vector3.new(1, 1, 1) |
| 226 | p.CFrame = CFrame.new(0, 3.5, -12) |
| 227 | p.BrickColor = BrickColor.new("Toothpaste") |
| 228 | p.Material = Enum.Material.Neon |
| 229 | p.Anchored = true |
| 230 | p.Parent = model |
| 231 | end |
| 232 | do |
| 233 | local p = Instance.new("Part") |
| 234 | p.Name = "PanelLine_2" |
| 235 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 236 | p.CFrame = CFrame.new(0, 1.25, -16.75) * CFrame.Angles(math.rad(-15.2551), math.rad(90), math.rad(0)) |
| 237 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 238 | p.Material = Enum.Material.Glacier |
| 239 | p.MaterialVariant = "2022 Weld" |
| 240 | p.Anchored = true |
| 241 | p.Parent = model |
| 242 | end |
| 243 | do |
| 244 | local p = Instance.new("Part") |
| 245 | p.Name = "VentFin_2" |
| 246 | p.Size = Vector3.new(2, 1, 0.5) |
| 247 | p.CFrame = CFrame.new(-2.87013, 4.5, -6.9291) * CFrame.Angles(math.rad(0), math.rad(112.5), math.rad(15)) |
| 248 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 249 | p.Material = Enum.Material.Glacier |
| 250 | p.MaterialVariant = "2022 Weld" |
| 251 | p.Anchored = true |
| 252 | p.Parent = model |
| 253 | end |
| 254 | do |
| 255 | local p = Instance.new("Part") |
| 256 | p.Name = "NodeHousing_3" |
| 257 | p.Size = Vector3.new(2, 1.5, 2) |
| 258 | p.CFrame = CFrame.new(-8.48528, 3, -8.48528) * CFrame.Angles(math.rad(0), math.rad(135), math.rad(0)) |
| 259 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 260 | p.Material = Enum.Material.Glacier |
| 261 | p.MaterialVariant = "2022 Weld" |
| 262 | p.Anchored = true |
| 263 | p.Parent = model |
| 264 | end |
| 265 | do |
| 266 | local p = Instance.new("Part") |
| 267 | p.Shape = Enum.PartType.Ball |
| 268 | p.Name = "NodeGlow_3" |
| 269 | p.Size = Vector3.new(1, 1, 1) |
| 270 | p.CFrame = CFrame.new(-8.48528, 3.5, -8.48528) |
| 271 | p.BrickColor = BrickColor.new("Toothpaste") |
| 272 | p.Material = Enum.Material.Neon |
| 273 | p.Anchored = true |
| 274 | p.Parent = model |
| 275 | end |
| 276 | do |
| 277 | local p = Instance.new("Part") |
| 278 | p.Name = "PanelLine_3" |
| 279 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 280 | p.CFrame = CFrame.new(-11.844, 1.25, -11.844) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(164.745)) |
| 281 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 282 | p.Material = Enum.Material.Glacier |
| 283 | p.MaterialVariant = "2022 Weld" |
| 284 | p.Anchored = true |
| 285 | p.Parent = model |
| 286 | end |
| 287 | do |
| 288 | local p = Instance.new("Part") |
| 289 | p.Name = "VentFin_3" |
| 290 | p.Size = Vector3.new(2, 1, 0.5) |
| 291 | p.CFrame = CFrame.new(-6.9291, 4.5, -2.87013) * CFrame.Angles(math.rad(0), math.rad(157.5), math.rad(15)) |
| 292 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 293 | p.Material = Enum.Material.Glacier |
| 294 | p.MaterialVariant = "2022 Weld" |
| 295 | p.Anchored = true |
| 296 | p.Parent = model |
| 297 | end |
| 298 | do |
| 299 | local p = Instance.new("Part") |
| 300 | p.Name = "NodeHousing_4" |
| 301 | p.Size = Vector3.new(2, 1.5, 2) |
| 302 | p.CFrame = CFrame.new(-12, 3, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) |
| 303 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 304 | p.Material = Enum.Material.Glacier |
| 305 | p.MaterialVariant = "2022 Weld" |
| 306 | p.Anchored = true |
| 307 | p.Parent = model |
| 308 | end |
| 309 | do |
| 310 | local p = Instance.new("Part") |
| 311 | p.Shape = Enum.PartType.Ball |
| 312 | p.Name = "NodeGlow_4" |
| 313 | p.Size = Vector3.new(1, 1, 1) |
| 314 | p.CFrame = CFrame.new(-12, 3.5, 0) |
| 315 | p.BrickColor = BrickColor.new("Toothpaste") |
| 316 | p.Material = Enum.Material.Neon |
| 317 | p.Anchored = true |
| 318 | p.Parent = model |
| 319 | end |
| 320 | do |
| 321 | local p = Instance.new("Part") |
| 322 | p.Name = "PanelLine_4" |
| 323 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 324 | p.CFrame = CFrame.new(-16.75, 1.25, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(164.745)) |
| 325 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 326 | p.Material = Enum.Material.Glacier |
| 327 | p.MaterialVariant = "2022 Weld" |
| 328 | p.Anchored = true |
| 329 | p.Parent = model |
| 330 | end |
| 331 | do |
| 332 | local p = Instance.new("Part") |
| 333 | p.Name = "VentFin_4" |
| 334 | p.Size = Vector3.new(2, 1, 0.5) |
| 335 | p.CFrame = CFrame.new(-6.9291, 4.5, 2.87013) * CFrame.Angles(math.rad(0), math.rad(202.5), math.rad(15)) |
| 336 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 337 | p.Material = Enum.Material.Glacier |
| 338 | p.MaterialVariant = "2022 Weld" |
| 339 | p.Anchored = true |
| 340 | p.Parent = model |
| 341 | end |
| 342 | do |
| 343 | local p = Instance.new("Part") |
| 344 | p.Name = "NodeHousing_5" |
| 345 | p.Size = Vector3.new(2, 1.5, 2) |
| 346 | p.CFrame = CFrame.new(-8.48528, 3, 8.48528) * CFrame.Angles(math.rad(0), math.rad(225), math.rad(0)) |
| 347 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Weld" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Shape = Enum.PartType.Ball |
| 356 | p.Name = "NodeGlow_5" |
| 357 | p.Size = Vector3.new(1, 1, 1) |
| 358 | p.CFrame = CFrame.new(-8.48528, 3.5, 8.48528) |
| 359 | p.BrickColor = BrickColor.new("Toothpaste") |
| 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 = "PanelLine_5" |
| 367 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 368 | p.CFrame = CFrame.new(-11.844, 1.25, 11.844) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(164.745)) |
| 369 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 370 | p.Material = Enum.Material.Glacier |
| 371 | p.MaterialVariant = "2022 Weld" |
| 372 | p.Anchored = true |
| 373 | p.Parent = model |
| 374 | end |
| 375 | do |
| 376 | local p = Instance.new("Part") |
| 377 | p.Name = "VentFin_5" |
| 378 | p.Size = Vector3.new(2, 1, 0.5) |
| 379 | p.CFrame = CFrame.new(-2.87013, 4.5, 6.9291) * CFrame.Angles(math.rad(0), math.rad(247.5), math.rad(15)) |
| 380 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 381 | p.Material = Enum.Material.Glacier |
| 382 | p.MaterialVariant = "2022 Weld" |
| 383 | p.Anchored = true |
| 384 | p.Parent = model |
| 385 | end |
| 386 | do |
| 387 | local p = Instance.new("Part") |
| 388 | p.Name = "NodeHousing_6" |
| 389 | p.Size = Vector3.new(2, 1.5, 2) |
| 390 | p.CFrame = CFrame.new(0, 3, 12) * CFrame.Angles(math.rad(0), math.rad(270), math.rad(0)) |
| 391 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 392 | p.Material = Enum.Material.Glacier |
| 393 | p.MaterialVariant = "2022 Weld" |
| 394 | p.Anchored = true |
| 395 | p.Parent = model |
| 396 | end |
| 397 | do |
| 398 | local p = Instance.new("Part") |
| 399 | p.Shape = Enum.PartType.Ball |
| 400 | p.Name = "NodeGlow_6" |
| 401 | p.Size = Vector3.new(1, 1, 1) |
| 402 | p.CFrame = CFrame.new(0, 3.5, 12) |
| 403 | p.BrickColor = BrickColor.new("Toothpaste") |
| 404 | p.Material = Enum.Material.Neon |
| 405 | p.Anchored = true |
| 406 | p.Parent = model |
| 407 | end |
| 408 | do |
| 409 | local p = Instance.new("Part") |
| 410 | p.Name = "PanelLine_6" |
| 411 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 412 | p.CFrame = CFrame.new(0, 1.25, 16.75) * CFrame.Angles(math.rad(15.2551), math.rad(-90), math.rad(0)) |
| 413 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 414 | p.Material = Enum.Material.Glacier |
| 415 | p.MaterialVariant = "2022 Weld" |
| 416 | p.Anchored = true |
| 417 | p.Parent = model |
| 418 | end |
| 419 | do |
| 420 | local p = Instance.new("Part") |
| 421 | p.Name = "VentFin_6" |
| 422 | p.Size = Vector3.new(2, 1, 0.5) |
| 423 | p.CFrame = CFrame.new(2.87013, 4.5, 6.9291) * CFrame.Angles(math.rad(0), math.rad(292.5), math.rad(15)) |
| 424 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 425 | p.Material = Enum.Material.Glacier |
| 426 | p.MaterialVariant = "2022 Weld" |
| 427 | p.Anchored = true |
| 428 | p.Parent = model |
| 429 | end |
| 430 | do |
| 431 | local p = Instance.new("Part") |
| 432 | p.Name = "NodeHousing_7" |
| 433 | p.Size = Vector3.new(2, 1.5, 2) |
| 434 | p.CFrame = CFrame.new(8.48528, 3, 8.48528) * CFrame.Angles(math.rad(0), math.rad(315), math.rad(0)) |
| 435 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 436 | p.Material = Enum.Material.Glacier |
| 437 | p.MaterialVariant = "2022 Weld" |
| 438 | p.Anchored = true |
| 439 | p.Parent = model |
| 440 | end |
| 441 | do |
| 442 | local p = Instance.new("Part") |
| 443 | p.Shape = Enum.PartType.Ball |
| 444 | p.Name = "NodeGlow_7" |
| 445 | p.Size = Vector3.new(1, 1, 1) |
| 446 | p.CFrame = CFrame.new(8.48528, 3.5, 8.48528) |
| 447 | p.BrickColor = BrickColor.new("Toothpaste") |
| 448 | p.Material = Enum.Material.Neon |
| 449 | p.Anchored = true |
| 450 | p.Parent = model |
| 451 | end |
| 452 | do |
| 453 | local p = Instance.new("Part") |
| 454 | p.Name = "PanelLine_7" |
| 455 | p.Size = Vector3.new(5.70088, 0.5, 0.5) |
| 456 | p.CFrame = CFrame.new(11.844, 1.25, 11.844) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-15.2551)) |
| 457 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 458 | p.Material = Enum.Material.Glacier |
| 459 | p.MaterialVariant = "2022 Weld" |
| 460 | p.Anchored = true |
| 461 | p.Parent = model |
| 462 | end |
| 463 | do |
| 464 | local p = Instance.new("Part") |
| 465 | p.Name = "VentFin_7" |
| 466 | p.Size = Vector3.new(2, 1, 0.5) |
| 467 | p.CFrame = CFrame.new(6.9291, 4.5, 2.87013) * CFrame.Angles(math.rad(0), math.rad(337.5), math.rad(15)) |
| 468 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 469 | p.Material = Enum.Material.Glacier |
| 470 | p.MaterialVariant = "2022 Weld" |
| 471 | p.Anchored = true |
| 472 | p.Parent = model |
| 473 | end |
| 474 | do |
| 475 | local upV = Vector3.new(0,1,0).Unit |
| 476 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 477 | local forwardV = rightV:Cross(upV) |
| 478 | local pos = Vector3.new(0, 0.04, 0) |
| 479 | local ball = Instance.new("Part") |
| 480 | ball.Shape = Enum.PartType.Ball |
| 481 | ball.Size = Vector3.new(40, 40, 40) |
| 482 | ball.CFrame = CFrame.new(pos) |
| 483 | ball.BrickColor = BrickColor.new("Medium stone grey") |
| 484 | ball.Material = Enum.Material.Glacier |
| 485 | ball.MaterialVariant = "2022 Glue" |
| 486 | ball.Anchored = true; ball.Parent = workspace |
| 487 | local cuts = {} |
| 488 | do |
| 489 | local h = -6.840403 |
| 490 | local cut = Instance.new("Part") |
| 491 | cut.Size = Vector3.new(80, 80, 80) |
| 492 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-46.840403), rightV, upV) |
| 493 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 494 | cut.Material = Enum.Material.Glacier |
| 495 | cut.MaterialVariant = "2022 Glue" |
| 496 | cut.Anchored = true; cut.Parent = workspace |
| 497 | table.insert(cuts, cut) |
| 498 | end |
| 499 | do |
| 500 | local h = 0 |
| 501 | local cut = Instance.new("Part") |
| 502 | cut.Size = Vector3.new(80, 80, 80) |
| 503 | cut.CFrame = CFrame.fromMatrix(pos + upV*(40), rightV, upV) |
| 504 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 505 | cut.Material = Enum.Material.Glacier |
| 506 | cut.MaterialVariant = "2022 Glue" |
| 507 | cut.Anchored = true; cut.Parent = workspace |
| 508 | table.insert(cuts, cut) |
| 509 | end |
| 510 | if #cuts > 0 then |
| 511 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 512 | for _, c in ipairs(cuts) do c:Destroy() end |
| 513 | if ok and result then |
| 514 | ball:Destroy() |
| 515 | result.Name = "HullBottom"; result.Anchored = true; result.Parent = model |
| 516 | else |
| 517 | ball.Name = "HullBottom"; ball.Parent = model |
| 518 | end |
| 519 | else |
| 520 | ball.Name = "HullBottom"; ball.Parent = model |
| 521 | end |
| 522 | end |
| 523 | do |
| 524 | local upV = Vector3.new(0,1,0).Unit |
| 525 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 526 | local forwardV = rightV:Cross(upV) |
| 527 | local pos = Vector3.new(0, 0, 0) |
| 528 | local ball = Instance.new("Part") |
| 529 | ball.Shape = Enum.PartType.Ball |
| 530 | ball.Size = Vector3.new(40, 40, 40) |
| 531 | ball.CFrame = CFrame.new(pos) |
| 532 | ball.BrickColor = BrickColor.new("Medium stone grey") |
| 533 | ball.Material = Enum.Material.Glacier |
| 534 | ball.MaterialVariant = "2022 Glue" |
| 535 | ball.Anchored = true; ball.Parent = workspace |
| 536 | local cuts = {} |
| 537 | do |
| 538 | local h = 0 |
| 539 | local cut = Instance.new("Part") |
| 540 | cut.Size = Vector3.new(80, 80, 80) |
| 541 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-40), rightV, upV) |
| 542 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 543 | cut.Material = Enum.Material.Glacier |
| 544 | cut.MaterialVariant = "2022 Glue" |
| 545 | cut.Anchored = true; cut.Parent = workspace |
| 546 | table.insert(cuts, cut) |
| 547 | end |
| 548 | do |
| 549 | local h = 6.840403 |
| 550 | local cut = Instance.new("Part") |
| 551 | cut.Size = Vector3.new(80, 80, 80) |
| 552 | cut.CFrame = CFrame.fromMatrix(pos + upV*(46.840403), rightV, upV) |
| 553 | cut.BrickColor = BrickColor.new("Medium stone grey") |
| 554 | cut.Material = Enum.Material.Glacier |
| 555 | cut.MaterialVariant = "2022 Glue" |
| 556 | cut.Anchored = true; cut.Parent = workspace |
| 557 | table.insert(cuts, cut) |
| 558 | end |
| 559 | if #cuts > 0 then |
| 560 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 561 | for _, c in ipairs(cuts) do c:Destroy() end |
| 562 | if ok and result then |
| 563 | ball:Destroy() |
| 564 | result.Name = "HullTop"; result.Anchored = true; result.Parent = model |
| 565 | else |
| 566 | ball.Name = "HullTop"; ball.Parent = model |
| 567 | end |
| 568 | else |
| 569 | ball.Name = "HullTop"; ball.Parent = model |
| 570 | end |
| 571 | end |
| 572 | do |
| 573 | local upV = Vector3.new(0,1,0).Unit |
| 574 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 575 | local forwardV = rightV:Cross(upV) |
| 576 | local pos = Vector3.new(0, 5.5, 0) |
| 577 | local ball = Instance.new("Part") |
| 578 | ball.Shape = Enum.PartType.Ball |
| 579 | ball.Size = Vector3.new(12, 12, 12) |
| 580 | ball.CFrame = CFrame.new(pos) |
| 581 | ball.BrickColor = BrickColor.new("Really black") |
| 582 | ball.Material = Enum.Material.Glacier |
| 583 | ball.MaterialVariant = "2022 Universal" |
| 584 | ball.Anchored = true; ball.Parent = workspace |
| 585 | local cuts = {} |
| 586 | do |
| 587 | local h = 0 |
| 588 | local cut = Instance.new("Part") |
| 589 | cut.Size = Vector3.new(24, 24, 24) |
| 590 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-12), rightV, upV) |
| 591 | cut.BrickColor = BrickColor.new("Really black") |
| 592 | cut.Material = Enum.Material.Glacier |
| 593 | cut.MaterialVariant = "2022 Universal" |
| 594 | cut.Anchored = true; cut.Parent = workspace |
| 595 | table.insert(cuts, cut) |
| 596 | end |
| 597 | if #cuts > 0 then |
| 598 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 599 | for _, c in ipairs(cuts) do c:Destroy() end |
| 600 | if ok and result then |
| 601 | ball:Destroy() |
| 602 | result.Name = "CenterDome"; result.Anchored = true; result.Parent = model |
| 603 | else |
| 604 | ball.Name = "CenterDome"; ball.Parent = model |
| 605 | end |
| 606 | else |
| 607 | ball.Name = "CenterDome"; ball.Parent = model |
| 608 | end |
| 609 | end |
| 610 | model.PrimaryPart = model:FindFirstChild("HullTop") |
| 611 | print("FlyingSaucer built: " .. #model:GetChildren() .. " parts") |
Loading comments...