Loading model...
by Rafael Paulo (Ostra28) · 5/12/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: SciFiBunkRoom |
| 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 = "SciFiBunkRoom" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Brick yellow"] = "2022 Stud", |
| 25 | ["Bright yellow"] = "2022 Big Stud", |
| 26 | ["Dark stone grey"] = "2022 Weld", |
| 27 | ["Ghost grey"] = "2022 Glue", |
| 28 | ["Institutional white"] = "2022 Glue", |
| 29 | ["Medium stone grey"] = "2022 Universal", |
| 30 | ["Really black"] = "2022 Universal", |
| 31 | ["Sand green"] = "2022 Glue", |
| 32 | } |
| 33 | do |
| 34 | local p = Instance.new("Part") |
| 35 | p.Name = "FloorMain" |
| 36 | p.Size = Vector3.new(30, 1, 30) |
| 37 | p.CFrame = CFrame.new(0, -0.5, 0) |
| 38 | p.BrickColor = BrickColor.new("Sand green") |
| 39 | p.Material = Enum.Material.Glacier |
| 40 | p.MaterialVariant = "2022 Glue" |
| 41 | p.Anchored = true |
| 42 | p.Parent = model |
| 43 | end |
| 44 | do |
| 45 | local p = Instance.new("Part") |
| 46 | p.Name = "Ceiling" |
| 47 | p.Size = Vector3.new(30, 1, 30) |
| 48 | p.CFrame = CFrame.new(0, 25.5, 0) |
| 49 | p.BrickColor = BrickColor.new("Sand green") |
| 50 | p.Material = Enum.Material.Glacier |
| 51 | p.MaterialVariant = "2022 Glue" |
| 52 | p.Anchored = true |
| 53 | p.Parent = model |
| 54 | end |
| 55 | do |
| 56 | local p = Instance.new("Part") |
| 57 | p.Name = "WallLeft" |
| 58 | p.Size = Vector3.new(1, 25, 30) |
| 59 | p.CFrame = CFrame.new(-15.5, 12.5, 0) |
| 60 | p.BrickColor = BrickColor.new("Sand green") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Glue" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Name = "WallRight" |
| 69 | p.Size = Vector3.new(1, 25, 30) |
| 70 | p.CFrame = CFrame.new(15.5, 12.5, 0) |
| 71 | p.BrickColor = BrickColor.new("Sand green") |
| 72 | p.Material = Enum.Material.Glacier |
| 73 | p.MaterialVariant = "2022 Glue" |
| 74 | p.Anchored = true |
| 75 | p.Parent = model |
| 76 | end |
| 77 | do |
| 78 | local p = Instance.new("Part") |
| 79 | p.Name = "WallBack_Left" |
| 80 | p.Size = Vector3.new(9.5, 25, 1) |
| 81 | p.CFrame = CFrame.new(-10.25, 12.66, 15.66) |
| 82 | p.BrickColor = BrickColor.new("Sand green") |
| 83 | p.Material = Enum.Material.Glacier |
| 84 | p.MaterialVariant = "2022 Glue" |
| 85 | p.Anchored = true |
| 86 | p.Parent = model |
| 87 | end |
| 88 | do |
| 89 | local p = Instance.new("Part") |
| 90 | p.Name = "WallBack_Right" |
| 91 | p.Size = Vector3.new(9.5, 25, 1) |
| 92 | p.CFrame = CFrame.new(10.25, 12.66, 15.66) |
| 93 | p.BrickColor = BrickColor.new("Sand green") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Glue" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Name = "WallBack_Top" |
| 102 | p.Size = Vector3.new(11, 14.5, 1) |
| 103 | p.CFrame = CFrame.new(0.04, 17.75, 15.54) |
| 104 | p.BrickColor = BrickColor.new("Sand green") |
| 105 | p.Material = Enum.Material.Glacier |
| 106 | p.MaterialVariant = "2022 Glue" |
| 107 | p.Anchored = true |
| 108 | p.Parent = model |
| 109 | end |
| 110 | do |
| 111 | local p = Instance.new("Part") |
| 112 | p.Name = "DoorFrame_Left" |
| 113 | p.Size = Vector3.new(1, 10, 2) |
| 114 | p.CFrame = CFrame.new(-5.66, 5.08, 15.08) |
| 115 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 116 | p.Material = Enum.Material.Glacier |
| 117 | p.MaterialVariant = "2022 Universal" |
| 118 | p.Anchored = true |
| 119 | p.Parent = model |
| 120 | end |
| 121 | do |
| 122 | local p = Instance.new("Part") |
| 123 | p.Name = "DoorFrame_Right" |
| 124 | p.Size = Vector3.new(1, 10, 2) |
| 125 | p.CFrame = CFrame.new(5.66, 5.08, 15.08) |
| 126 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 127 | p.Material = Enum.Material.Glacier |
| 128 | p.MaterialVariant = "2022 Universal" |
| 129 | p.Anchored = true |
| 130 | p.Parent = model |
| 131 | end |
| 132 | do |
| 133 | local p = Instance.new("Part") |
| 134 | p.Name = "DoorFrame_Top" |
| 135 | p.Size = Vector3.new(12, 1, 2) |
| 136 | p.CFrame = CFrame.new(0, 10.5, 15) |
| 137 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 138 | p.Material = Enum.Material.Glacier |
| 139 | p.MaterialVariant = "2022 Universal" |
| 140 | p.Anchored = true |
| 141 | p.Parent = model |
| 142 | end |
| 143 | do |
| 144 | local p = Instance.new("Part") |
| 145 | p.Name = "DoorChamfer_L" |
| 146 | p.Size = Vector3.new(2.8, 1, 2) |
| 147 | p.CFrame = CFrame.new(-4.5, 9.5, 14.92) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 148 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 149 | p.Material = Enum.Material.Glacier |
| 150 | p.MaterialVariant = "2022 Universal" |
| 151 | p.Anchored = true |
| 152 | p.Parent = model |
| 153 | end |
| 154 | do |
| 155 | local p = Instance.new("Part") |
| 156 | p.Name = "DoorChamfer_R" |
| 157 | p.Size = Vector3.new(2.8, 1, 2) |
| 158 | p.CFrame = CFrame.new(4.5, 9.5, 14.92) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45)) |
| 159 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 160 | p.Material = Enum.Material.Glacier |
| 161 | p.MaterialVariant = "2022 Universal" |
| 162 | p.Anchored = true |
| 163 | p.Parent = model |
| 164 | end |
| 165 | do |
| 166 | local p = Instance.new("Part") |
| 167 | p.Name = "CautionBase" |
| 168 | p.Size = Vector3.new(10, 0.1, 1) |
| 169 | p.CFrame = CFrame.new(0.04, 0.09, 14.46) |
| 170 | p.BrickColor = BrickColor.new("Bright yellow") |
| 171 | p.Material = Enum.Material.Glacier |
| 172 | p.MaterialVariant = "2022 Big Stud" |
| 173 | p.Anchored = true |
| 174 | p.Parent = model |
| 175 | end |
| 176 | do |
| 177 | local p = Instance.new("Part") |
| 178 | p.Name = "CautionStripe_-4" |
| 179 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 180 | p.CFrame = CFrame.new(-4, 0.26, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 181 | p.BrickColor = BrickColor.new("Really black") |
| 182 | p.Material = Enum.Material.Glacier |
| 183 | p.MaterialVariant = "2022 Universal" |
| 184 | p.Anchored = true |
| 185 | p.Parent = model |
| 186 | end |
| 187 | do |
| 188 | local p = Instance.new("Part") |
| 189 | p.Name = "CautionStripe_-3" |
| 190 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 191 | p.CFrame = CFrame.new(-3, 0.26, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 192 | p.BrickColor = BrickColor.new("Really black") |
| 193 | p.Material = Enum.Material.Glacier |
| 194 | p.MaterialVariant = "2022 Universal" |
| 195 | p.Anchored = true |
| 196 | p.Parent = model |
| 197 | end |
| 198 | do |
| 199 | local p = Instance.new("Part") |
| 200 | p.Name = "CautionStripe_-2" |
| 201 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 202 | p.CFrame = CFrame.new(-2, 0.26, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 203 | p.BrickColor = BrickColor.new("Really black") |
| 204 | p.Material = Enum.Material.Glacier |
| 205 | p.MaterialVariant = "2022 Universal" |
| 206 | p.Anchored = true |
| 207 | p.Parent = model |
| 208 | end |
| 209 | do |
| 210 | local p = Instance.new("Part") |
| 211 | p.Name = "CautionStripe_-1" |
| 212 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 213 | p.CFrame = CFrame.new(-1, 0.22, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 214 | p.BrickColor = BrickColor.new("Really black") |
| 215 | p.Material = Enum.Material.Glacier |
| 216 | p.MaterialVariant = "2022 Universal" |
| 217 | p.Anchored = true |
| 218 | p.Parent = model |
| 219 | end |
| 220 | do |
| 221 | local p = Instance.new("Part") |
| 222 | p.Name = "CautionStripe_0" |
| 223 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 224 | p.CFrame = CFrame.new(0, 0.14, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 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.Name = "CautionStripe_1" |
| 234 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 235 | p.CFrame = CFrame.new(1, 0.14, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 236 | p.BrickColor = BrickColor.new("Really black") |
| 237 | p.Material = Enum.Material.Glacier |
| 238 | p.MaterialVariant = "2022 Universal" |
| 239 | p.Anchored = true |
| 240 | p.Parent = model |
| 241 | end |
| 242 | do |
| 243 | local p = Instance.new("Part") |
| 244 | p.Name = "CautionStripe_2" |
| 245 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 246 | p.CFrame = CFrame.new(2, 0.14, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 247 | p.BrickColor = BrickColor.new("Really black") |
| 248 | p.Material = Enum.Material.Glacier |
| 249 | p.MaterialVariant = "2022 Universal" |
| 250 | p.Anchored = true |
| 251 | p.Parent = model |
| 252 | end |
| 253 | do |
| 254 | local p = Instance.new("Part") |
| 255 | p.Name = "CautionStripe_3" |
| 256 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 257 | p.CFrame = CFrame.new(3, 0.14, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 258 | p.BrickColor = BrickColor.new("Really black") |
| 259 | p.Material = Enum.Material.Glacier |
| 260 | p.MaterialVariant = "2022 Universal" |
| 261 | p.Anchored = true |
| 262 | p.Parent = model |
| 263 | end |
| 264 | do |
| 265 | local p = Instance.new("Part") |
| 266 | p.Name = "CautionStripe_4" |
| 267 | p.Size = Vector3.new(0.5, 0.1, 1.05) |
| 268 | p.CFrame = CFrame.new(4, 0.1, 14.5) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 269 | p.BrickColor = BrickColor.new("Really black") |
| 270 | p.Material = Enum.Material.Glacier |
| 271 | p.MaterialVariant = "2022 Universal" |
| 272 | p.Anchored = true |
| 273 | p.Parent = model |
| 274 | end |
| 275 | do |
| 276 | local p = Instance.new("Part") |
| 277 | p.Name = "HallFloor" |
| 278 | p.Size = Vector3.new(10, 1, 10) |
| 279 | p.CFrame = CFrame.new(0, -0.4, 20.04) |
| 280 | p.BrickColor = BrickColor.new("Ghost grey") |
| 281 | p.Material = Enum.Material.Glacier |
| 282 | p.MaterialVariant = "2022 Glue" |
| 283 | p.Anchored = true |
| 284 | p.Parent = model |
| 285 | end |
| 286 | do |
| 287 | local p = Instance.new("Part") |
| 288 | p.Name = "HallCeiling" |
| 289 | p.Size = Vector3.new(10, 1, 10) |
| 290 | p.CFrame = CFrame.new(0, 9.4, 20) |
| 291 | p.BrickColor = BrickColor.new("Ghost grey") |
| 292 | p.Material = Enum.Material.Glacier |
| 293 | p.MaterialVariant = "2022 Glue" |
| 294 | p.Anchored = true |
| 295 | p.Parent = model |
| 296 | end |
| 297 | do |
| 298 | local p = Instance.new("Part") |
| 299 | p.Name = "HallWall_Left" |
| 300 | p.Size = Vector3.new(1, 9, 10) |
| 301 | p.CFrame = CFrame.new(-4.58, 4.58, 19.92) |
| 302 | p.BrickColor = BrickColor.new("Ghost grey") |
| 303 | p.Material = Enum.Material.Glacier |
| 304 | p.MaterialVariant = "2022 Glue" |
| 305 | p.Anchored = true |
| 306 | p.Parent = model |
| 307 | end |
| 308 | do |
| 309 | local p = Instance.new("Part") |
| 310 | p.Name = "HallWall_Right" |
| 311 | p.Size = Vector3.new(1, 9, 10) |
| 312 | p.CFrame = CFrame.new(4.58, 4.58, 19.92) |
| 313 | p.BrickColor = BrickColor.new("Ghost grey") |
| 314 | p.Material = Enum.Material.Glacier |
| 315 | p.MaterialVariant = "2022 Glue" |
| 316 | p.Anchored = true |
| 317 | p.Parent = model |
| 318 | end |
| 319 | do |
| 320 | local p = Instance.new("Part") |
| 321 | p.Name = "HallWall_Back" |
| 322 | p.Size = Vector3.new(8, 9, 1) |
| 323 | p.CFrame = CFrame.new(0.04, 4.46, 24.58) |
| 324 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 325 | p.Material = Enum.Material.Glacier |
| 326 | p.MaterialVariant = "2022 Weld" |
| 327 | p.Anchored = true |
| 328 | p.Parent = model |
| 329 | end |
| 330 | do |
| 331 | local p = Instance.new("Part") |
| 332 | p.Name = "BunkL_Low_18" |
| 333 | p.Size = Vector3.new(2, 0.5, 3) |
| 334 | p.CFrame = CFrame.new(-2.96, 2, 18) |
| 335 | p.BrickColor = BrickColor.new("Sand green") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Glue" |
| 338 | p.Anchored = true |
| 339 | p.Parent = model |
| 340 | end |
| 341 | do |
| 342 | local p = Instance.new("Part") |
| 343 | p.Name = "BunkL_High_18" |
| 344 | p.Size = Vector3.new(2, 0.5, 3) |
| 345 | p.CFrame = CFrame.new(-2.96, 6, 18) |
| 346 | p.BrickColor = BrickColor.new("Sand green") |
| 347 | p.Material = Enum.Material.Glacier |
| 348 | p.MaterialVariant = "2022 Glue" |
| 349 | p.Anchored = true |
| 350 | p.Parent = model |
| 351 | end |
| 352 | do |
| 353 | local p = Instance.new("Part") |
| 354 | p.Name = "BunkR_Low_18" |
| 355 | p.Size = Vector3.new(2, 0.5, 3) |
| 356 | p.CFrame = CFrame.new(2.96, 2, 18) |
| 357 | p.BrickColor = BrickColor.new("Sand green") |
| 358 | p.Material = Enum.Material.Glacier |
| 359 | p.MaterialVariant = "2022 Glue" |
| 360 | p.Anchored = true |
| 361 | p.Parent = model |
| 362 | end |
| 363 | do |
| 364 | local p = Instance.new("Part") |
| 365 | p.Name = "BunkR_High_18" |
| 366 | p.Size = Vector3.new(2, 0.5, 3) |
| 367 | p.CFrame = CFrame.new(2.96, 6, 18) |
| 368 | p.BrickColor = BrickColor.new("Sand green") |
| 369 | p.Material = Enum.Material.Glacier |
| 370 | p.MaterialVariant = "2022 Glue" |
| 371 | p.Anchored = true |
| 372 | p.Parent = model |
| 373 | end |
| 374 | do |
| 375 | local p = Instance.new("Part") |
| 376 | p.Name = "BunkL_Low_22" |
| 377 | p.Size = Vector3.new(2, 0.5, 3) |
| 378 | p.CFrame = CFrame.new(-2.96, 2, 22) |
| 379 | p.BrickColor = BrickColor.new("Sand green") |
| 380 | p.Material = Enum.Material.Glacier |
| 381 | p.MaterialVariant = "2022 Glue" |
| 382 | p.Anchored = true |
| 383 | p.Parent = model |
| 384 | end |
| 385 | do |
| 386 | local p = Instance.new("Part") |
| 387 | p.Name = "BunkL_High_22" |
| 388 | p.Size = Vector3.new(2, 0.5, 3) |
| 389 | p.CFrame = CFrame.new(-2.96, 6, 22) |
| 390 | p.BrickColor = BrickColor.new("Sand green") |
| 391 | p.Material = Enum.Material.Glacier |
| 392 | p.MaterialVariant = "2022 Glue" |
| 393 | p.Anchored = true |
| 394 | p.Parent = model |
| 395 | end |
| 396 | do |
| 397 | local p = Instance.new("Part") |
| 398 | p.Name = "BunkR_Low_22" |
| 399 | p.Size = Vector3.new(2, 0.5, 3) |
| 400 | p.CFrame = CFrame.new(2.96, 2, 22) |
| 401 | p.BrickColor = BrickColor.new("Sand green") |
| 402 | p.Material = Enum.Material.Glacier |
| 403 | p.MaterialVariant = "2022 Glue" |
| 404 | p.Anchored = true |
| 405 | p.Parent = model |
| 406 | end |
| 407 | do |
| 408 | local p = Instance.new("Part") |
| 409 | p.Name = "BunkR_High_22" |
| 410 | p.Size = Vector3.new(2, 0.5, 3) |
| 411 | p.CFrame = CFrame.new(2.96, 6, 22) |
| 412 | p.BrickColor = BrickColor.new("Sand green") |
| 413 | p.Material = Enum.Material.Glacier |
| 414 | p.MaterialVariant = "2022 Glue" |
| 415 | p.Anchored = true |
| 416 | p.Parent = model |
| 417 | end |
| 418 | do |
| 419 | local p = Instance.new("Part") |
| 420 | p.Name = "LoftFloor" |
| 421 | p.Size = Vector3.new(23, 1, 14) |
| 422 | p.CFrame = CFrame.new(3.46, 12.5, 8) |
| 423 | p.BrickColor = BrickColor.new("Sand green") |
| 424 | p.Material = Enum.Material.Glacier |
| 425 | p.MaterialVariant = "2022 Glue" |
| 426 | p.Anchored = true |
| 427 | p.Parent = model |
| 428 | end |
| 429 | do |
| 430 | local p = Instance.new("Part") |
| 431 | p.Name = "LoftEdge" |
| 432 | p.Size = Vector3.new(23, 1.2, 1) |
| 433 | p.CFrame = CFrame.new(3.46, 12.5, 0.46) |
| 434 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 435 | p.Material = Enum.Material.Glacier |
| 436 | p.MaterialVariant = "2022 Universal" |
| 437 | p.Anchored = true |
| 438 | p.Parent = model |
| 439 | end |
| 440 | do |
| 441 | local p = Instance.new("Part") |
| 442 | p.Name = "LoftLight_1" |
| 443 | p.Size = Vector3.new(0.8, 0.2, 8) |
| 444 | p.CFrame = CFrame.new(-2, 11.86, 8) |
| 445 | p.BrickColor = BrickColor.new("Cool yellow") |
| 446 | p.Material = Enum.Material.Neon |
| 447 | p.Anchored = true |
| 448 | p.Parent = model |
| 449 | end |
| 450 | do |
| 451 | local p = Instance.new("Part") |
| 452 | p.Name = "LoftLight_2" |
| 453 | p.Size = Vector3.new(0.8, 0.2, 8) |
| 454 | p.CFrame = CFrame.new(9, 11.86, 8) |
| 455 | p.BrickColor = BrickColor.new("Cool yellow") |
| 456 | p.Material = Enum.Material.Neon |
| 457 | p.Anchored = true |
| 458 | p.Parent = model |
| 459 | end |
| 460 | do |
| 461 | local p = Instance.new("Part") |
| 462 | p.Shape = Enum.PartType.Cylinder |
| 463 | p.Name = "LoftPost_-7" |
| 464 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 465 | p.CFrame = CFrame.new(-7, 14, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 466 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 467 | p.Material = Enum.Material.Glacier |
| 468 | p.MaterialVariant = "2022 Universal" |
| 469 | p.Anchored = true |
| 470 | p.Parent = model |
| 471 | end |
| 472 | do |
| 473 | local p = Instance.new("Part") |
| 474 | p.Shape = Enum.PartType.Cylinder |
| 475 | p.Name = "LoftPost_-2" |
| 476 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 477 | p.CFrame = CFrame.new(-2, 14, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 478 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 479 | p.Material = Enum.Material.Glacier |
| 480 | p.MaterialVariant = "2022 Universal" |
| 481 | p.Anchored = true |
| 482 | p.Parent = model |
| 483 | end |
| 484 | do |
| 485 | local p = Instance.new("Part") |
| 486 | p.Shape = Enum.PartType.Cylinder |
| 487 | p.Name = "LoftPost_3" |
| 488 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 489 | p.CFrame = CFrame.new(3, 14, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 490 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 491 | p.Material = Enum.Material.Glacier |
| 492 | p.MaterialVariant = "2022 Universal" |
| 493 | p.Anchored = true |
| 494 | p.Parent = model |
| 495 | end |
| 496 | do |
| 497 | local p = Instance.new("Part") |
| 498 | p.Shape = Enum.PartType.Cylinder |
| 499 | p.Name = "LoftPost_8" |
| 500 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 501 | p.CFrame = CFrame.new(8, 14, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 502 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 503 | p.Material = Enum.Material.Glacier |
| 504 | p.MaterialVariant = "2022 Universal" |
| 505 | p.Anchored = true |
| 506 | p.Parent = model |
| 507 | end |
| 508 | do |
| 509 | local p = Instance.new("Part") |
| 510 | p.Shape = Enum.PartType.Cylinder |
| 511 | p.Name = "LoftPost_13" |
| 512 | p.Size = Vector3.new(3, 0.2, 0.2) |
| 513 | p.CFrame = CFrame.new(13, 14, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 514 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 515 | p.Material = Enum.Material.Glacier |
| 516 | p.MaterialVariant = "2022 Universal" |
| 517 | p.Anchored = true |
| 518 | p.Parent = model |
| 519 | end |
| 520 | do |
| 521 | local p = Instance.new("Part") |
| 522 | p.Shape = Enum.PartType.Cylinder |
| 523 | p.Name = "LoftTopRail" |
| 524 | p.Size = Vector3.new(22, 0.14, 0.14) |
| 525 | p.CFrame = CFrame.new(3.5, 15.5, 1.5) |
| 526 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 527 | p.Material = Enum.Material.Glacier |
| 528 | p.MaterialVariant = "2022 Universal" |
| 529 | p.Anchored = true |
| 530 | p.Parent = model |
| 531 | end |
| 532 | do |
| 533 | local p = Instance.new("Part") |
| 534 | p.Name = "Step_0" |
| 535 | p.Size = Vector3.new(7, 0.5, 2) |
| 536 | p.CFrame = CFrame.new(-11.46, 1.5, -10) |
| 537 | p.BrickColor = BrickColor.new("Ghost grey") |
| 538 | p.Material = Enum.Material.Glacier |
| 539 | p.MaterialVariant = "2022 Glue" |
| 540 | p.Anchored = true |
| 541 | p.Parent = model |
| 542 | end |
| 543 | do |
| 544 | local p = Instance.new("Part") |
| 545 | p.Name = "StepMount_0" |
| 546 | p.Size = Vector3.new(1, 0.8, 1) |
| 547 | p.CFrame = CFrame.new(-14.46, 1, -10) |
| 548 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 549 | p.Material = Enum.Material.Glacier |
| 550 | p.MaterialVariant = "2022 Weld" |
| 551 | p.Anchored = true |
| 552 | p.Parent = model |
| 553 | end |
| 554 | do |
| 555 | local p = Instance.new("Part") |
| 556 | p.Name = "Step_1" |
| 557 | p.Size = Vector3.new(7, 0.5, 2) |
| 558 | p.CFrame = CFrame.new(-11.46, 3, -8.28571) |
| 559 | p.BrickColor = BrickColor.new("Ghost grey") |
| 560 | p.Material = Enum.Material.Glacier |
| 561 | p.MaterialVariant = "2022 Glue" |
| 562 | p.Anchored = true |
| 563 | p.Parent = model |
| 564 | end |
| 565 | do |
| 566 | local p = Instance.new("Part") |
| 567 | p.Name = "StepMount_1" |
| 568 | p.Size = Vector3.new(1, 0.8, 1) |
| 569 | p.CFrame = CFrame.new(-14.46, 2.5, -8.28571) |
| 570 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 571 | p.Material = Enum.Material.Glacier |
| 572 | p.MaterialVariant = "2022 Weld" |
| 573 | p.Anchored = true |
| 574 | p.Parent = model |
| 575 | end |
| 576 | do |
| 577 | local p = Instance.new("Part") |
| 578 | p.Name = "Step_2" |
| 579 | p.Size = Vector3.new(7, 0.5, 2) |
| 580 | p.CFrame = CFrame.new(-11.46, 4.5, -6.57143) |
| 581 | p.BrickColor = BrickColor.new("Ghost grey") |
| 582 | p.Material = Enum.Material.Glacier |
| 583 | p.MaterialVariant = "2022 Glue" |
| 584 | p.Anchored = true |
| 585 | p.Parent = model |
| 586 | end |
| 587 | do |
| 588 | local p = Instance.new("Part") |
| 589 | p.Name = "StepMount_2" |
| 590 | p.Size = Vector3.new(1, 0.8, 1) |
| 591 | p.CFrame = CFrame.new(-14.46, 4, -6.57143) |
| 592 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 593 | p.Material = Enum.Material.Glacier |
| 594 | p.MaterialVariant = "2022 Weld" |
| 595 | p.Anchored = true |
| 596 | p.Parent = model |
| 597 | end |
| 598 | do |
| 599 | local p = Instance.new("Part") |
| 600 | p.Name = "Step_3" |
| 601 | p.Size = Vector3.new(7, 0.5, 2) |
| 602 | p.CFrame = CFrame.new(-11.46, 6, -4.85714) |
| 603 | p.BrickColor = BrickColor.new("Ghost grey") |
| 604 | p.Material = Enum.Material.Glacier |
| 605 | p.MaterialVariant = "2022 Glue" |
| 606 | p.Anchored = true |
| 607 | p.Parent = model |
| 608 | end |
| 609 | do |
| 610 | local p = Instance.new("Part") |
| 611 | p.Name = "StepMount_3" |
| 612 | p.Size = Vector3.new(1, 0.8, 1) |
| 613 | p.CFrame = CFrame.new(-14.46, 5.5, -4.85714) |
| 614 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 615 | p.Material = Enum.Material.Glacier |
| 616 | p.MaterialVariant = "2022 Weld" |
| 617 | p.Anchored = true |
| 618 | p.Parent = model |
| 619 | end |
| 620 | do |
| 621 | local p = Instance.new("Part") |
| 622 | p.Name = "Step_4" |
| 623 | p.Size = Vector3.new(7, 0.5, 2) |
| 624 | p.CFrame = CFrame.new(-11.46, 7.5, -3.14286) |
| 625 | p.BrickColor = BrickColor.new("Ghost grey") |
| 626 | p.Material = Enum.Material.Glacier |
| 627 | p.MaterialVariant = "2022 Glue" |
| 628 | p.Anchored = true |
| 629 | p.Parent = model |
| 630 | end |
| 631 | do |
| 632 | local p = Instance.new("Part") |
| 633 | p.Name = "StepMount_4" |
| 634 | p.Size = Vector3.new(1, 0.8, 1) |
| 635 | p.CFrame = CFrame.new(-14.46, 7, -3.14286) |
| 636 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 637 | p.Material = Enum.Material.Glacier |
| 638 | p.MaterialVariant = "2022 Weld" |
| 639 | p.Anchored = true |
| 640 | p.Parent = model |
| 641 | end |
| 642 | do |
| 643 | local p = Instance.new("Part") |
| 644 | p.Name = "Step_5" |
| 645 | p.Size = Vector3.new(7, 0.5, 2) |
| 646 | p.CFrame = CFrame.new(-11.46, 9, -1.42857) |
| 647 | p.BrickColor = BrickColor.new("Ghost grey") |
| 648 | p.Material = Enum.Material.Glacier |
| 649 | p.MaterialVariant = "2022 Glue" |
| 650 | p.Anchored = true |
| 651 | p.Parent = model |
| 652 | end |
| 653 | do |
| 654 | local p = Instance.new("Part") |
| 655 | p.Name = "StepMount_5" |
| 656 | p.Size = Vector3.new(1, 0.8, 1) |
| 657 | p.CFrame = CFrame.new(-14.46, 8.5, -1.42857) |
| 658 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 659 | p.Material = Enum.Material.Glacier |
| 660 | p.MaterialVariant = "2022 Weld" |
| 661 | p.Anchored = true |
| 662 | p.Parent = model |
| 663 | end |
| 664 | do |
| 665 | local p = Instance.new("Part") |
| 666 | p.Name = "Step_6" |
| 667 | p.Size = Vector3.new(7, 0.5, 2) |
| 668 | p.CFrame = CFrame.new(-11.46, 10.5, 0.285714) |
| 669 | p.BrickColor = BrickColor.new("Ghost grey") |
| 670 | p.Material = Enum.Material.Glacier |
| 671 | p.MaterialVariant = "2022 Glue" |
| 672 | p.Anchored = true |
| 673 | p.Parent = model |
| 674 | end |
| 675 | do |
| 676 | local p = Instance.new("Part") |
| 677 | p.Name = "StepMount_6" |
| 678 | p.Size = Vector3.new(1, 0.8, 1) |
| 679 | p.CFrame = CFrame.new(-14.46, 10, 0.285714) |
| 680 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 681 | p.Material = Enum.Material.Glacier |
| 682 | p.MaterialVariant = "2022 Weld" |
| 683 | p.Anchored = true |
| 684 | p.Parent = model |
| 685 | end |
| 686 | do |
| 687 | local p = Instance.new("Part") |
| 688 | p.Name = "Step_7" |
| 689 | p.Size = Vector3.new(7, 0.5, 2) |
| 690 | p.CFrame = CFrame.new(-11.46, 12, 2) |
| 691 | p.BrickColor = BrickColor.new("Ghost grey") |
| 692 | p.Material = Enum.Material.Glacier |
| 693 | p.MaterialVariant = "2022 Glue" |
| 694 | p.Anchored = true |
| 695 | p.Parent = model |
| 696 | end |
| 697 | do |
| 698 | local p = Instance.new("Part") |
| 699 | p.Name = "StepMount_7" |
| 700 | p.Size = Vector3.new(1, 0.8, 1) |
| 701 | p.CFrame = CFrame.new(-14.46, 11.5, 2) |
| 702 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 703 | p.Material = Enum.Material.Glacier |
| 704 | p.MaterialVariant = "2022 Weld" |
| 705 | p.Anchored = true |
| 706 | p.Parent = model |
| 707 | end |
| 708 | do |
| 709 | local p = Instance.new("Part") |
| 710 | p.Shape = Enum.PartType.Cylinder |
| 711 | p.Name = "StairRail_0" |
| 712 | p.Size = Vector3.new(2.27789, 0.1, 0.1) |
| 713 | p.CFrame = CFrame.new(-9, 5.25, -9.14286) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 714 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 715 | p.Material = Enum.Material.Glacier |
| 716 | p.MaterialVariant = "2022 Universal" |
| 717 | p.Anchored = true |
| 718 | p.Parent = model |
| 719 | end |
| 720 | do |
| 721 | local p = Instance.new("Part") |
| 722 | p.Shape = Enum.PartType.Cylinder |
| 723 | p.Name = "StairRail_1" |
| 724 | p.Size = Vector3.new(2.27789, 0.1, 0.1) |
| 725 | p.CFrame = CFrame.new(-9, 6.75, -7.42857) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 726 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 727 | p.Material = Enum.Material.Glacier |
| 728 | p.MaterialVariant = "2022 Universal" |
| 729 | p.Anchored = true |
| 730 | p.Parent = model |
| 731 | end |
| 732 | do |
| 733 | local p = Instance.new("Part") |
| 734 | p.Shape = Enum.PartType.Cylinder |
| 735 | p.Name = "StairRail_2" |
| 736 | p.Size = Vector3.new(2.27789, 0.1, 0.1) |
| 737 | p.CFrame = CFrame.new(-9, 8.25, -5.71429) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 738 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 739 | p.Material = Enum.Material.Glacier |
| 740 | p.MaterialVariant = "2022 Universal" |
| 741 | p.Anchored = true |
| 742 | p.Parent = model |
| 743 | end |
| 744 | do |
| 745 | local p = Instance.new("Part") |
| 746 | p.Shape = Enum.PartType.Cylinder |
| 747 | p.Name = "StairRail_3" |
| 748 | p.Size = Vector3.new(2.27789, 0.14, 0.14) |
| 749 | p.CFrame = CFrame.new(-9, 9.75, -4) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 750 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 751 | p.Material = Enum.Material.Glacier |
| 752 | p.MaterialVariant = "2022 Universal" |
| 753 | p.Anchored = true |
| 754 | p.Parent = model |
| 755 | end |
| 756 | do |
| 757 | local p = Instance.new("Part") |
| 758 | p.Shape = Enum.PartType.Cylinder |
| 759 | p.Name = "StairRail_4" |
| 760 | p.Size = Vector3.new(2.27789, 0.14, 0.14) |
| 761 | p.CFrame = CFrame.new(-9, 11.25, -2.28571) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 762 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 763 | p.Material = Enum.Material.Glacier |
| 764 | p.MaterialVariant = "2022 Universal" |
| 765 | p.Anchored = true |
| 766 | p.Parent = model |
| 767 | end |
| 768 | do |
| 769 | local p = Instance.new("Part") |
| 770 | p.Shape = Enum.PartType.Cylinder |
| 771 | p.Name = "StairRail_5" |
| 772 | p.Size = Vector3.new(2.27789, 0.18, 0.18) |
| 773 | p.CFrame = CFrame.new(-9, 12.75, -0.571429) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 774 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 775 | p.Material = Enum.Material.Glacier |
| 776 | p.MaterialVariant = "2022 Universal" |
| 777 | p.Anchored = true |
| 778 | p.Parent = model |
| 779 | end |
| 780 | do |
| 781 | local p = Instance.new("Part") |
| 782 | p.Shape = Enum.PartType.Cylinder |
| 783 | p.Name = "StairRail_6" |
| 784 | p.Size = Vector3.new(2.27789, 0.22, 0.22) |
| 785 | p.CFrame = CFrame.new(-9, 14.25, 1.14286) * CFrame.Angles(math.rad(-41.1859), math.rad(-90), math.rad(0)) |
| 786 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 787 | p.Material = Enum.Material.Glacier |
| 788 | p.MaterialVariant = "2022 Universal" |
| 789 | p.Anchored = true |
| 790 | p.Parent = model |
| 791 | end |
| 792 | do |
| 793 | local p = Instance.new("Part") |
| 794 | p.Shape = Enum.PartType.Cylinder |
| 795 | p.Name = "StairRail_Top" |
| 796 | p.Size = Vector3.new(2.12132, 0.26, 0.26) |
| 797 | p.CFrame = CFrame.new(-8, 15.25, 1.75) * CFrame.Angles(math.rad(0), math.rad(14.0362), math.rad(13.633)) |
| 798 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 799 | p.Material = Enum.Material.Glacier |
| 800 | p.MaterialVariant = "2022 Universal" |
| 801 | p.Anchored = true |
| 802 | p.Parent = model |
| 803 | end |
| 804 | do |
| 805 | local p = Instance.new("Part") |
| 806 | p.Name = "ElecBox_Main" |
| 807 | p.Size = Vector3.new(0.6, 4, 3) |
| 808 | p.CFrame = CFrame.new(-14.8, 8, -8) |
| 809 | p.BrickColor = BrickColor.new("Ghost grey") |
| 810 | p.Material = Enum.Material.Glacier |
| 811 | p.MaterialVariant = "2022 Glue" |
| 812 | p.Anchored = true |
| 813 | p.Parent = model |
| 814 | end |
| 815 | do |
| 816 | local p = Instance.new("Part") |
| 817 | p.Name = "ElecBox_Sub" |
| 818 | p.Size = Vector3.new(0.4, 1.5, 1.5) |
| 819 | p.CFrame = CFrame.new(-14.8, 6.54, -6) |
| 820 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 821 | p.Material = Enum.Material.Glacier |
| 822 | p.MaterialVariant = "2022 Universal" |
| 823 | p.Anchored = true |
| 824 | p.Parent = model |
| 825 | end |
| 826 | do |
| 827 | local p = Instance.new("Part") |
| 828 | p.Shape = Enum.PartType.Cylinder |
| 829 | p.Name = "Wire_1" |
| 830 | p.Size = Vector3.new(6.0208, 0.15, 0.15) |
| 831 | p.CFrame = CFrame.new(-14.5, 3, -8.25) * CFrame.Angles(math.rad(-85.2364), math.rad(90), math.rad(0)) |
| 832 | p.BrickColor = BrickColor.new("Really black") |
| 833 | p.Material = Enum.Material.Glacier |
| 834 | p.MaterialVariant = "2022 Universal" |
| 835 | p.Anchored = true |
| 836 | p.Parent = model |
| 837 | end |
| 838 | do |
| 839 | local p = Instance.new("Part") |
| 840 | p.Shape = Enum.PartType.Cylinder |
| 841 | p.Name = "Wire_2" |
| 842 | p.Size = Vector3.new(6.5192, 0.1, 0.1) |
| 843 | p.CFrame = CFrame.new(-13.25, 3, -7.25) * CFrame.Angles(math.rad(0), math.rad(-11.3099), math.rad(-66.9785)) |
| 844 | p.BrickColor = BrickColor.new("Bright yellow") |
| 845 | p.Material = Enum.Material.Glacier |
| 846 | p.MaterialVariant = "2022 Big Stud" |
| 847 | p.Anchored = true |
| 848 | p.Parent = model |
| 849 | end |
| 850 | do |
| 851 | local p = Instance.new("Part") |
| 852 | p.Name = "LoftPanel_1" |
| 853 | p.Size = Vector3.new(3, 4, 0.4) |
| 854 | p.CFrame = CFrame.new(-4, 16, 14.76) |
| 855 | p.BrickColor = BrickColor.new("Ghost grey") |
| 856 | p.Material = Enum.Material.Glacier |
| 857 | p.MaterialVariant = "2022 Glue" |
| 858 | p.Anchored = true |
| 859 | p.Parent = model |
| 860 | end |
| 861 | do |
| 862 | local p = Instance.new("Part") |
| 863 | p.Name = "LoftPanel_2" |
| 864 | p.Size = Vector3.new(4, 3, 0.4) |
| 865 | p.CFrame = CFrame.new(4, 16, 14.76) |
| 866 | p.BrickColor = BrickColor.new("Ghost grey") |
| 867 | p.Material = Enum.Material.Glacier |
| 868 | p.MaterialVariant = "2022 Glue" |
| 869 | p.Anchored = true |
| 870 | p.Parent = model |
| 871 | end |
| 872 | do |
| 873 | local p = Instance.new("Part") |
| 874 | p.Name = "LoftScreen" |
| 875 | p.Size = Vector3.new(2, 1.5, 0.1) |
| 876 | p.CFrame = CFrame.new(4, 16, 14.56) |
| 877 | p.BrickColor = BrickColor.new("Really black") |
| 878 | p.Material = Enum.Material.Glacier |
| 879 | p.MaterialVariant = "2022 Universal" |
| 880 | p.Anchored = true |
| 881 | p.Parent = model |
| 882 | end |
| 883 | do |
| 884 | local p = Instance.new("Part") |
| 885 | p.Name = "CeilLightFrame" |
| 886 | p.Size = Vector3.new(8, 0.4, 8) |
| 887 | p.CFrame = CFrame.new(0, 24.76, 0) |
| 888 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 889 | p.Material = Enum.Material.Glacier |
| 890 | p.MaterialVariant = "2022 Universal" |
| 891 | p.Anchored = true |
| 892 | p.Parent = model |
| 893 | end |
| 894 | do |
| 895 | local p = Instance.new("Part") |
| 896 | p.Name = "CeilLightGlow" |
| 897 | p.Size = Vector3.new(7, 0.2, 7) |
| 898 | p.CFrame = CFrame.new(0, 24.62, 0) |
| 899 | p.BrickColor = BrickColor.new("Cool yellow") |
| 900 | p.Material = Enum.Material.Neon |
| 901 | p.Anchored = true |
| 902 | p.Parent = model |
| 903 | end |
| 904 | do |
| 905 | local p = Instance.new("Part") |
| 906 | p.Name = "BotBase" |
| 907 | p.Size = Vector3.new(3.5, 1.5, 3.5) |
| 908 | p.CFrame = CFrame.new(9, 0.8, -4) |
| 909 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 910 | p.Material = Enum.Material.Glacier |
| 911 | p.MaterialVariant = "2022 Universal" |
| 912 | p.Anchored = true |
| 913 | p.Parent = model |
| 914 | end |
| 915 | do |
| 916 | local p = Instance.new("Part") |
| 917 | p.Shape = Enum.PartType.Cylinder |
| 918 | p.Name = "BotWheel_L1" |
| 919 | p.Size = Vector3.new(1.5, 1.6, 1.6) |
| 920 | p.CFrame = CFrame.new(7, 0.8, -5.5) |
| 921 | p.BrickColor = BrickColor.new("Really black") |
| 922 | p.Material = Enum.Material.Glacier |
| 923 | p.MaterialVariant = "2022 Universal" |
| 924 | p.Anchored = true |
| 925 | p.Parent = model |
| 926 | end |
| 927 | do |
| 928 | local p = Instance.new("Part") |
| 929 | p.Shape = Enum.PartType.Cylinder |
| 930 | p.Name = "BotWheel_L2" |
| 931 | p.Size = Vector3.new(1.5, 1.6, 1.6) |
| 932 | p.CFrame = CFrame.new(7, 0.8, -2.5) |
| 933 | p.BrickColor = BrickColor.new("Really black") |
| 934 | p.Material = Enum.Material.Glacier |
| 935 | p.MaterialVariant = "2022 Universal" |
| 936 | p.Anchored = true |
| 937 | p.Parent = model |
| 938 | end |
| 939 | do |
| 940 | local p = Instance.new("Part") |
| 941 | p.Shape = Enum.PartType.Cylinder |
| 942 | p.Name = "BotWheel_R1" |
| 943 | p.Size = Vector3.new(1.5, 1.6, 1.6) |
| 944 | p.CFrame = CFrame.new(11, 0.8, -5.5) |
| 945 | p.BrickColor = BrickColor.new("Really black") |
| 946 | p.Material = Enum.Material.Glacier |
| 947 | p.MaterialVariant = "2022 Universal" |
| 948 | p.Anchored = true |
| 949 | p.Parent = model |
| 950 | end |
| 951 | do |
| 952 | local p = Instance.new("Part") |
| 953 | p.Shape = Enum.PartType.Cylinder |
| 954 | p.Name = "BotWheel_R2" |
| 955 | p.Size = Vector3.new(1.5, 1.6, 1.6) |
| 956 | p.CFrame = CFrame.new(11, 0.8, -2.5) |
| 957 | p.BrickColor = BrickColor.new("Really black") |
| 958 | p.Material = Enum.Material.Glacier |
| 959 | p.MaterialVariant = "2022 Universal" |
| 960 | p.Anchored = true |
| 961 | p.Parent = model |
| 962 | end |
| 963 | do |
| 964 | local p = Instance.new("Part") |
| 965 | p.Shape = Enum.PartType.Cylinder |
| 966 | p.Name = "BotTorso" |
| 967 | p.Size = Vector3.new(3, 2.8, 2.8) |
| 968 | p.CFrame = CFrame.new(9, 3, -4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 969 | p.BrickColor = BrickColor.new("Brick yellow") |
| 970 | p.Material = Enum.Material.Glacier |
| 971 | p.MaterialVariant = "2022 Stud" |
| 972 | p.Anchored = true |
| 973 | p.Parent = model |
| 974 | end |
| 975 | do |
| 976 | local p = Instance.new("Part") |
| 977 | p.Shape = Enum.PartType.Cylinder |
| 978 | p.Name = "BotTorsoTrim" |
| 979 | p.Size = Vector3.new(0.4, 2.9, 2.9) |
| 980 | p.CFrame = CFrame.new(9, 4.6, -4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 981 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 982 | p.Material = Enum.Material.Glacier |
| 983 | p.MaterialVariant = "2022 Weld" |
| 984 | p.Anchored = true |
| 985 | p.Parent = model |
| 986 | end |
| 987 | do |
| 988 | local p = Instance.new("Part") |
| 989 | p.Shape = Enum.PartType.Cylinder |
| 990 | p.Name = "BotNeck" |
| 991 | p.Size = Vector3.new(0.6, 1.5, 1.5) |
| 992 | p.CFrame = CFrame.new(9, 4.96, -4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 993 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 994 | p.Material = Enum.Material.Glacier |
| 995 | p.MaterialVariant = "2022 Universal" |
| 996 | p.Anchored = true |
| 997 | p.Parent = model |
| 998 | end |
| 999 | do |
| 1000 | local p = Instance.new("Part") |
| 1001 | p.Shape = Enum.PartType.Cylinder |
| 1002 | p.Name = "BotHeadBase" |
| 1003 | p.Size = Vector3.new(0.2, 3.2, 3.2) |
| 1004 | p.CFrame = CFrame.new(9, 5.3, -4) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 1005 | p.BrickColor = BrickColor.new("Institutional white") |
| 1006 | p.Material = Enum.Material.Glacier |
| 1007 | p.MaterialVariant = "2022 Glue" |
| 1008 | p.Anchored = true |
| 1009 | p.Parent = model |
| 1010 | end |
| 1011 | do |
| 1012 | local p = Instance.new("Part") |
| 1013 | p.Name = "BotVisor" |
| 1014 | p.Size = Vector3.new(1.8, 0.8, 0.6) |
| 1015 | p.CFrame = CFrame.new(9, 5.84, -5.4) |
| 1016 | p.BrickColor = BrickColor.new("Really black") |
| 1017 | p.Material = Enum.Material.Glacier |
| 1018 | p.MaterialVariant = "2022 Universal" |
| 1019 | p.Anchored = true |
| 1020 | p.Parent = model |
| 1021 | end |
| 1022 | do |
| 1023 | local p = Instance.new("Part") |
| 1024 | p.Shape = Enum.PartType.Ball |
| 1025 | p.Name = "BotEyeGlow" |
| 1026 | p.Size = Vector3.new(0.4, 0.4, 0.2) |
| 1027 | p.CFrame = CFrame.new(9.4, 5.8, -5.6) |
| 1028 | p.BrickColor = BrickColor.new("Toothpaste") |
| 1029 | p.Material = Enum.Material.Neon |
| 1030 | p.Anchored = true |
| 1031 | p.Parent = model |
| 1032 | end |
| 1033 | do |
| 1034 | local p = Instance.new("Part") |
| 1035 | p.Shape = Enum.PartType.Cylinder |
| 1036 | p.Name = "BotArm_L" |
| 1037 | p.Size = Vector3.new(2.31517, 0.4, 0.4) |
| 1038 | p.CFrame = CFrame.new(7.1, 2.5, -4.5) * CFrame.Angles(math.rad(-180), math.rad(59.0362), math.rad(120.246)) |
| 1039 | p.BrickColor = BrickColor.new("Institutional white") |
| 1040 | p.Material = Enum.Material.Glacier |
| 1041 | p.MaterialVariant = "2022 Glue" |
| 1042 | p.Anchored = true |
| 1043 | p.Parent = model |
| 1044 | end |
| 1045 | do |
| 1046 | local p = Instance.new("Part") |
| 1047 | p.Shape = Enum.PartType.Cylinder |
| 1048 | p.Name = "BotArm_R" |
| 1049 | p.Size = Vector3.new(2.31517, 0.4, 0.4) |
| 1050 | p.CFrame = CFrame.new(10.9, 2.5, -4.5) * CFrame.Angles(math.rad(0), math.rad(59.0362), math.rad(-59.7537)) |
| 1051 | p.BrickColor = BrickColor.new("Institutional white") |
| 1052 | p.Material = Enum.Material.Glacier |
| 1053 | p.MaterialVariant = "2022 Glue" |
| 1054 | p.Anchored = true |
| 1055 | p.Parent = model |
| 1056 | end |
| 1057 | do |
| 1058 | local upV = Vector3.new(0,1,0).Unit |
| 1059 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 1060 | local forwardV = rightV:Cross(upV) |
| 1061 | local pos = Vector3.new(9, 5.3, -4) |
| 1062 | local ball = Instance.new("Part") |
| 1063 | ball.Shape = Enum.PartType.Ball |
| 1064 | ball.Size = Vector3.new(3.2, 3.2, 3.2) |
| 1065 | ball.CFrame = CFrame.new(pos) |
| 1066 | ball.BrickColor = BrickColor.new("Institutional white") |
| 1067 | ball.Material = Enum.Material.Glacier |
| 1068 | ball.MaterialVariant = "2022 Glue" |
| 1069 | ball.Anchored = true; ball.Parent = workspace |
| 1070 | local cuts = {} |
| 1071 | do |
| 1072 | local h = 0 |
| 1073 | local cut = Instance.new("Part") |
| 1074 | cut.Size = Vector3.new(6.4, 6.4, 6.4) |
| 1075 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-3.2), rightV, upV) |
| 1076 | cut.BrickColor = BrickColor.new("Institutional white") |
| 1077 | cut.Material = Enum.Material.Glacier |
| 1078 | cut.MaterialVariant = "2022 Glue" |
| 1079 | cut.Anchored = true; cut.Parent = workspace |
| 1080 | table.insert(cuts, cut) |
| 1081 | end |
| 1082 | if #cuts > 0 then |
| 1083 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 1084 | for _, c in ipairs(cuts) do c:Destroy() end |
| 1085 | if ok and result then |
| 1086 | ball:Destroy() |
| 1087 | result.Name = "BotHead"; result.Anchored = true; result.Parent = model |
| 1088 | else |
| 1089 | ball.Name = "BotHead"; ball.Parent = model |
| 1090 | end |
| 1091 | else |
| 1092 | ball.Name = "BotHead"; ball.Parent = model |
| 1093 | end |
| 1094 | end |
| 1095 | model.PrimaryPart = model:FindFirstChild("FloorMain") |
| 1096 | print("SciFiBunkRoom built: " .. #model:GetChildren() .. " parts") |
Loading comments...