Loading model...
by esther aguocha · 5/1/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: FiveNationsArena |
| 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 = "FiveNationsArena" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Black"] = "2022 Glue", |
| 25 | ["Brick yellow"] = "2022 Stud", |
| 26 | ["Bright red"] = "2022 Stud", |
| 27 | ["Brown"] = "2022 Stud", |
| 28 | ["Cool yellow"] = "2022 Stud", |
| 29 | ["Dark red"] = "2022 Stud", |
| 30 | ["Dark stone grey"] = "2022 Stud", |
| 31 | ["Dark taupe"] = "2022 Stud", |
| 32 | ["Earth green"] = "2022 Stud", |
| 33 | ["Ghost grey"] = "2022 Stud", |
| 34 | ["Gold"] = "2022 Stud", |
| 35 | ["Institutional white"] = "2022 Stud", |
| 36 | ["Light stone grey"] = "2022 Glue", |
| 37 | ["Medium stone grey"] = "2022 Inlet", |
| 38 | ["Pastel Blue"] = "2022 Stud", |
| 39 | ["Pine Cone"] = "2022 Small Stud", |
| 40 | ["Really black"] = "2022 Universal", |
| 41 | ["Reddish brown"] = "2022 Small Stud", |
| 42 | ["Sand yellow"] = "2022 Small Stud", |
| 43 | ["Silver"] = "2022 Stud", |
| 44 | ["Toothpaste"] = "2022 Stud", |
| 45 | ["White"] = "2022 Stud", |
| 46 | } |
| 47 | do |
| 48 | local p = Instance.new("Part") |
| 49 | p.Shape = Enum.PartType.Cylinder |
| 50 | p.Name = "CenterBase" |
| 51 | p.Size = Vector3.new(4, 30, 30) |
| 52 | p.CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 53 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 54 | p.Material = Enum.Material.Glacier |
| 55 | p.MaterialVariant = "2022 Inlet" |
| 56 | p.Anchored = true |
| 57 | p.Parent = model |
| 58 | end |
| 59 | do |
| 60 | local p = Instance.new("Part") |
| 61 | p.Shape = Enum.PartType.Cylinder |
| 62 | p.Name = "CenterFloor" |
| 63 | p.Size = Vector3.new(0.5, 28, 28) |
| 64 | p.CFrame = CFrame.new(0, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 65 | p.BrickColor = BrickColor.new("Light stone grey") |
| 66 | p.Material = Enum.Material.Glacier |
| 67 | p.MaterialVariant = "2022 Glue" |
| 68 | p.Anchored = true |
| 69 | p.Parent = model |
| 70 | end |
| 71 | do |
| 72 | local p = Instance.new("Part") |
| 73 | p.Name = "EmbWater" |
| 74 | p.Size = Vector3.new(0.2, 8, 8) |
| 75 | p.CFrame = CFrame.new(0, 2.2, -5) |
| 76 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 77 | p.Material = Enum.Material.Glacier |
| 78 | p.MaterialVariant = "2022 Stud" |
| 79 | p.Anchored = true |
| 80 | p.Parent = model |
| 81 | end |
| 82 | do |
| 83 | local p = Instance.new("Part") |
| 84 | p.Name = "EmbFire" |
| 85 | p.Size = Vector3.new(0.2, 8, 8) |
| 86 | p.CFrame = CFrame.new(5, 2.2, 0) |
| 87 | p.BrickColor = BrickColor.new("Bright red") |
| 88 | p.Material = Enum.Material.Glacier |
| 89 | p.MaterialVariant = "2022 Stud" |
| 90 | p.Anchored = true |
| 91 | p.Parent = model |
| 92 | end |
| 93 | do |
| 94 | local p = Instance.new("Part") |
| 95 | p.Name = "EmbEarth" |
| 96 | p.Size = Vector3.new(0.2, 8, 8) |
| 97 | p.CFrame = CFrame.new(-5, 2.2, 0) |
| 98 | p.BrickColor = BrickColor.new("Earth green") |
| 99 | p.Material = Enum.Material.Glacier |
| 100 | p.MaterialVariant = "2022 Stud" |
| 101 | p.Anchored = true |
| 102 | p.Parent = model |
| 103 | end |
| 104 | do |
| 105 | local p = Instance.new("Part") |
| 106 | p.Name = "EmbAir" |
| 107 | p.Size = Vector3.new(0.2, 8, 8) |
| 108 | p.CFrame = CFrame.new(0, 2.2, 5) |
| 109 | p.BrickColor = BrickColor.new("Cool yellow") |
| 110 | p.Material = Enum.Material.Glacier |
| 111 | p.MaterialVariant = "2022 Stud" |
| 112 | p.Anchored = true |
| 113 | p.Parent = model |
| 114 | end |
| 115 | do |
| 116 | local p = Instance.new("Part") |
| 117 | p.Name = "BridgeWater" |
| 118 | p.Size = Vector3.new(20, 8, 2) |
| 119 | p.CFrame = CFrame.new(0, 1, -25) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) |
| 120 | p.BrickColor = BrickColor.new("Ghost grey") |
| 121 | p.Material = Enum.Material.Glacier |
| 122 | p.MaterialVariant = "2022 Stud" |
| 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 = "WaterBase" |
| 130 | p.Size = Vector3.new(4, 45, 45) |
| 131 | p.CFrame = CFrame.new(0, 0, -55) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 132 | p.BrickColor = BrickColor.new("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 = "WaterFloor" |
| 142 | p.Size = Vector3.new(0.5, 43, 43) |
| 143 | p.CFrame = CFrame.new(0, 2.1, -55) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 144 | p.BrickColor = BrickColor.new("Ghost grey") |
| 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 = "WaterPool" |
| 154 | p.Size = Vector3.new(0.2, 25, 25) |
| 155 | p.CFrame = CFrame.new(0, 2.2, -55) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 156 | p.BrickColor = BrickColor.new("Toothpaste") |
| 157 | p.Material = Enum.Material.Glacier |
| 158 | p.MaterialVariant = "2022 Stud" |
| 159 | p.Anchored = true |
| 160 | p.Parent = model |
| 161 | end |
| 162 | do |
| 163 | local p = Instance.new("Part") |
| 164 | p.Name = "IcePeak1" |
| 165 | p.Size = Vector3.new(12, 10, 10) |
| 166 | p.CFrame = CFrame.new(-12, 6, -65) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(15)) |
| 167 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Stud" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Name = "IcePeak2" |
| 176 | p.Size = Vector3.new(16, 12, 12) |
| 177 | p.CFrame = CFrame.new(15, 8, -62) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(-10)) |
| 178 | p.BrickColor = BrickColor.new("White") |
| 179 | p.Material = Enum.Material.Glacier |
| 180 | p.MaterialVariant = "2022 Stud" |
| 181 | p.Anchored = true |
| 182 | p.Parent = model |
| 183 | end |
| 184 | do |
| 185 | local p = Instance.new("Part") |
| 186 | p.Name = "IcePeak3" |
| 187 | p.Size = Vector3.new(10, 15, 15) |
| 188 | p.CFrame = CFrame.new(0, 5, -70) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)) |
| 189 | p.BrickColor = BrickColor.new("Ghost grey") |
| 190 | p.Material = Enum.Material.Glacier |
| 191 | p.MaterialVariant = "2022 Stud" |
| 192 | p.Anchored = true |
| 193 | p.Parent = model |
| 194 | end |
| 195 | do |
| 196 | local p = Instance.new("Part") |
| 197 | p.Name = "IceSpike1" |
| 198 | p.Size = Vector3.new(6, 3, 3) |
| 199 | p.CFrame = CFrame.new(-8, 4, -45) * CFrame.Angles(math.rad(20), math.rad(45), math.rad(0)) |
| 200 | p.BrickColor = BrickColor.new("Pastel Blue") |
| 201 | p.Material = Enum.Material.Glacier |
| 202 | p.MaterialVariant = "2022 Stud" |
| 203 | p.Anchored = true |
| 204 | p.Parent = model |
| 205 | end |
| 206 | do |
| 207 | local p = Instance.new("Part") |
| 208 | p.Name = "IceSpike2" |
| 209 | p.Size = Vector3.new(5, 2, 2) |
| 210 | p.CFrame = CFrame.new(10, 4, -48) * CFrame.Angles(math.rad(-20), math.rad(-30), math.rad(0)) |
| 211 | p.BrickColor = BrickColor.new("White") |
| 212 | p.Material = Enum.Material.Glacier |
| 213 | p.MaterialVariant = "2022 Stud" |
| 214 | p.Anchored = true |
| 215 | p.Parent = model |
| 216 | end |
| 217 | do |
| 218 | local p = Instance.new("Part") |
| 219 | p.Name = "BridgeFire" |
| 220 | p.Size = Vector3.new(20, 8, 2) |
| 221 | p.CFrame = CFrame.new(25, 1, 0) |
| 222 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 223 | p.Material = Enum.Material.Glacier |
| 224 | p.MaterialVariant = "2022 Stud" |
| 225 | p.Anchored = true |
| 226 | p.Parent = model |
| 227 | end |
| 228 | do |
| 229 | local p = Instance.new("Part") |
| 230 | p.Shape = Enum.PartType.Cylinder |
| 231 | p.Name = "FireBase" |
| 232 | p.Size = Vector3.new(4, 45, 45) |
| 233 | p.CFrame = CFrame.new(55, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 234 | p.BrickColor = BrickColor.new("Really black") |
| 235 | p.Material = Enum.Material.Glacier |
| 236 | p.MaterialVariant = "2022 Universal" |
| 237 | p.Anchored = true |
| 238 | p.Parent = model |
| 239 | end |
| 240 | do |
| 241 | local p = Instance.new("Part") |
| 242 | p.Shape = Enum.PartType.Cylinder |
| 243 | p.Name = "FireFloor" |
| 244 | p.Size = Vector3.new(0.5, 43, 43) |
| 245 | p.CFrame = CFrame.new(55, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 246 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 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.Shape = Enum.PartType.Cylinder |
| 255 | p.Name = "VolcanoBase" |
| 256 | p.Size = Vector3.new(6, 22, 22) |
| 257 | p.CFrame = CFrame.new(65, 3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 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.Shape = Enum.PartType.Cylinder |
| 267 | p.Name = "VolcanoMid" |
| 268 | p.Size = Vector3.new(6, 14, 14) |
| 269 | p.CFrame = CFrame.new(65, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 270 | p.BrickColor = BrickColor.new("Black") |
| 271 | p.Material = Enum.Material.Glacier |
| 272 | p.MaterialVariant = "2022 Glue" |
| 273 | p.Anchored = true |
| 274 | p.Parent = model |
| 275 | end |
| 276 | do |
| 277 | local p = Instance.new("Part") |
| 278 | p.Shape = Enum.PartType.Cylinder |
| 279 | p.Name = "LavaCrater" |
| 280 | p.Size = Vector3.new(0.5, 10, 10) |
| 281 | p.CFrame = CFrame.new(65, 9.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 282 | p.BrickColor = BrickColor.new("Neon orange") |
| 283 | p.Material = Enum.Material.Neon |
| 284 | p.Anchored = true |
| 285 | p.Parent = model |
| 286 | end |
| 287 | do |
| 288 | local p = Instance.new("Part") |
| 289 | p.Name = "LavaRiver" |
| 290 | p.Size = Vector3.new(20, 0.4, 6) |
| 291 | p.CFrame = CFrame.new(55, 2.24, 0) |
| 292 | p.BrickColor = BrickColor.new("Neon orange") |
| 293 | p.Material = Enum.Material.Neon |
| 294 | p.Anchored = true |
| 295 | p.Parent = model |
| 296 | end |
| 297 | do |
| 298 | local p = Instance.new("Part") |
| 299 | p.Name = "FTempleBase" |
| 300 | p.Size = Vector3.new(6, 10, 10) |
| 301 | p.CFrame = CFrame.new(55, 4, 12) |
| 302 | p.BrickColor = BrickColor.new("Black") |
| 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 = "FTempleRoof1" |
| 311 | p.Size = Vector3.new(1, 12, 12) |
| 312 | p.CFrame = CFrame.new(55, 7.5, 12) |
| 313 | p.BrickColor = BrickColor.new("Dark red") |
| 314 | p.Material = Enum.Material.Glacier |
| 315 | p.MaterialVariant = "2022 Stud" |
| 316 | p.Anchored = true |
| 317 | p.Parent = model |
| 318 | end |
| 319 | do |
| 320 | local p = Instance.new("Part") |
| 321 | p.Name = "FTempleMid" |
| 322 | p.Size = Vector3.new(2, 8, 8) |
| 323 | p.CFrame = CFrame.new(55, 9, 12) |
| 324 | p.BrickColor = BrickColor.new("Black") |
| 325 | p.Material = Enum.Material.Glacier |
| 326 | p.MaterialVariant = "2022 Glue" |
| 327 | p.Anchored = true |
| 328 | p.Parent = model |
| 329 | end |
| 330 | do |
| 331 | local p = Instance.new("Part") |
| 332 | p.Name = "FTempleRoof2" |
| 333 | p.Size = Vector3.new(1, 10, 10) |
| 334 | p.CFrame = CFrame.new(55.04, 10.5, 12.04) |
| 335 | p.BrickColor = BrickColor.new("Dark red") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Stud" |
| 338 | p.Anchored = true |
| 339 | p.Parent = model |
| 340 | end |
| 341 | do |
| 342 | local p = Instance.new("Part") |
| 343 | p.Name = "FTempleSpire" |
| 344 | p.Size = Vector3.new(3, 2, 2) |
| 345 | p.CFrame = CFrame.new(55, 12.04, 12) |
| 346 | p.BrickColor = BrickColor.new("Gold") |
| 347 | p.Material = Enum.Material.Glacier |
| 348 | p.MaterialVariant = "2022 Stud" |
| 349 | p.Anchored = true |
| 350 | p.Parent = model |
| 351 | end |
| 352 | do |
| 353 | local p = Instance.new("Part") |
| 354 | p.Name = "BridgeEarth" |
| 355 | p.Size = Vector3.new(20, 8, 2) |
| 356 | p.CFrame = CFrame.new(-25, 1, 0) * CFrame.Angles(math.rad(-180), math.rad(0), math.rad(-180)) |
| 357 | p.BrickColor = BrickColor.new("Reddish brown") |
| 358 | p.Material = Enum.Material.Glacier |
| 359 | p.MaterialVariant = "2022 Small Stud" |
| 360 | p.Anchored = true |
| 361 | p.Parent = model |
| 362 | end |
| 363 | do |
| 364 | local p = Instance.new("Part") |
| 365 | p.Shape = Enum.PartType.Cylinder |
| 366 | p.Name = "EarthBase" |
| 367 | p.Size = Vector3.new(4, 50, 50) |
| 368 | p.CFrame = CFrame.new(-55, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 369 | p.BrickColor = BrickColor.new("Earth green") |
| 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 = "Rock1" |
| 378 | p.Size = Vector3.new(8, 18, 18) |
| 379 | p.CFrame = CFrame.new(-65, 2, -15) |
| 380 | p.BrickColor = BrickColor.new("Brown") |
| 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 = "Rock2" |
| 389 | p.Size = Vector3.new(6, 15, 15) |
| 390 | p.CFrame = CFrame.new(-50, 2, -20) |
| 391 | p.BrickColor = BrickColor.new("Earth green") |
| 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 = "Rock3" |
| 400 | p.Size = Vector3.new(10, 12, 12) |
| 401 | p.CFrame = CFrame.new(-70, 4.04, -5) |
| 402 | p.BrickColor = BrickColor.new("Dark taupe") |
| 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 = "Rock4" |
| 411 | p.Size = Vector3.new(6, 10, 10) |
| 412 | p.CFrame = CFrame.new(-45, 3.04, -10) |
| 413 | p.BrickColor = BrickColor.new("Pine Cone") |
| 414 | p.Material = Enum.Material.Glacier |
| 415 | p.MaterialVariant = "2022 Small Stud" |
| 416 | p.Anchored = true |
| 417 | p.Parent = model |
| 418 | end |
| 419 | do |
| 420 | local p = Instance.new("Part") |
| 421 | p.Shape = Enum.PartType.Cylinder |
| 422 | p.Name = "MetalFloor" |
| 423 | p.Size = Vector3.new(0.5, 24, 24) |
| 424 | p.CFrame = CFrame.new(-55, 2.1, 12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 425 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 426 | p.Material = Enum.Material.Glacier |
| 427 | p.MaterialVariant = "2022 Inlet" |
| 428 | p.Anchored = true |
| 429 | p.Parent = model |
| 430 | end |
| 431 | do |
| 432 | local p = Instance.new("Part") |
| 433 | p.Shape = Enum.PartType.Cylinder |
| 434 | p.Name = "MetalCenter" |
| 435 | p.Size = Vector3.new(0.2, 8, 8) |
| 436 | p.CFrame = CFrame.new(-55, 2.4, 12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 437 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 438 | p.Material = Enum.Material.Glacier |
| 439 | p.MaterialVariant = "2022 Stud" |
| 440 | p.Anchored = true |
| 441 | p.Parent = model |
| 442 | end |
| 443 | do |
| 444 | local p = Instance.new("Part") |
| 445 | p.Shape = Enum.PartType.Cylinder |
| 446 | p.Name = "MPill1" |
| 447 | p.Size = Vector3.new(6, 2, 2) |
| 448 | p.CFrame = CFrame.new(-46, 5.08, 12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 449 | p.BrickColor = BrickColor.new("Silver") |
| 450 | p.Material = Enum.Material.Glacier |
| 451 | p.MaterialVariant = "2022 Stud" |
| 452 | p.Anchored = true |
| 453 | p.Parent = model |
| 454 | end |
| 455 | do |
| 456 | local p = Instance.new("Part") |
| 457 | p.Shape = Enum.PartType.Cylinder |
| 458 | p.Name = "MPill2" |
| 459 | p.Size = Vector3.new(6, 2, 2) |
| 460 | p.CFrame = CFrame.new(-64, 5.08, 12) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 461 | p.BrickColor = BrickColor.new("Silver") |
| 462 | p.Material = Enum.Material.Glacier |
| 463 | p.MaterialVariant = "2022 Stud" |
| 464 | p.Anchored = true |
| 465 | p.Parent = model |
| 466 | end |
| 467 | do |
| 468 | local p = Instance.new("Part") |
| 469 | p.Shape = Enum.PartType.Cylinder |
| 470 | p.Name = "MPill3" |
| 471 | p.Size = Vector3.new(6, 2, 2) |
| 472 | p.CFrame = CFrame.new(-55, 5.08, 21) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 473 | p.BrickColor = BrickColor.new("Silver") |
| 474 | p.Material = Enum.Material.Glacier |
| 475 | p.MaterialVariant = "2022 Stud" |
| 476 | p.Anchored = true |
| 477 | p.Parent = model |
| 478 | end |
| 479 | do |
| 480 | local p = Instance.new("Part") |
| 481 | p.Name = "BridgeAir" |
| 482 | p.Size = Vector3.new(21.1896, 8, 2) |
| 483 | p.CFrame = CFrame.new(0, 4.5, 25) * CFrame.Angles(math.rad(-19.29), math.rad(-90), math.rad(0)) |
| 484 | p.BrickColor = BrickColor.new("Brick yellow") |
| 485 | p.Material = Enum.Material.Glacier |
| 486 | p.MaterialVariant = "2022 Stud" |
| 487 | p.Anchored = true |
| 488 | p.Parent = model |
| 489 | end |
| 490 | do |
| 491 | local p = Instance.new("Part") |
| 492 | p.Shape = Enum.PartType.Cylinder |
| 493 | p.Name = "AirBase" |
| 494 | p.Size = Vector3.new(4, 40, 40) |
| 495 | p.CFrame = CFrame.new(0, 8, 55) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 496 | p.BrickColor = BrickColor.new("Sand yellow") |
| 497 | p.Material = Enum.Material.Glacier |
| 498 | p.MaterialVariant = "2022 Small Stud" |
| 499 | p.Anchored = true |
| 500 | p.Parent = model |
| 501 | end |
| 502 | do |
| 503 | local p = Instance.new("Part") |
| 504 | p.Shape = Enum.PartType.Cylinder |
| 505 | p.Name = "AirFloor" |
| 506 | p.Size = Vector3.new(0.5, 38, 38) |
| 507 | p.CFrame = CFrame.new(0, 10.1, 55) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 508 | p.BrickColor = BrickColor.new("Cool yellow") |
| 509 | p.Material = Enum.Material.Glacier |
| 510 | p.MaterialVariant = "2022 Stud" |
| 511 | p.Anchored = true |
| 512 | p.Parent = model |
| 513 | end |
| 514 | do |
| 515 | local p = Instance.new("Part") |
| 516 | p.Shape = Enum.PartType.Cylinder |
| 517 | p.Name = "AirTBase" |
| 518 | p.Size = Vector3.new(4, 20, 20) |
| 519 | p.CFrame = CFrame.new(0, 12.04, 55) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 520 | p.BrickColor = BrickColor.new("Institutional white") |
| 521 | p.Material = Enum.Material.Glacier |
| 522 | p.MaterialVariant = "2022 Stud" |
| 523 | p.Anchored = true |
| 524 | p.Parent = model |
| 525 | end |
| 526 | do |
| 527 | local p = Instance.new("Part") |
| 528 | p.Shape = Enum.PartType.Cylinder |
| 529 | p.Name = "APill1" |
| 530 | p.Size = Vector3.new(4, 1.5, 1.5) |
| 531 | p.CFrame = CFrame.new(-8, 12.04, 47) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 532 | p.BrickColor = BrickColor.new("Gold") |
| 533 | p.Material = Enum.Material.Glacier |
| 534 | p.MaterialVariant = "2022 Stud" |
| 535 | p.Anchored = true |
| 536 | p.Parent = model |
| 537 | end |
| 538 | do |
| 539 | local p = Instance.new("Part") |
| 540 | p.Shape = Enum.PartType.Cylinder |
| 541 | p.Name = "APill2" |
| 542 | p.Size = Vector3.new(4, 1.5, 1.5) |
| 543 | p.CFrame = CFrame.new(8, 12.08, 47) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 544 | p.BrickColor = BrickColor.new("Gold") |
| 545 | p.Material = Enum.Material.Glacier |
| 546 | p.MaterialVariant = "2022 Stud" |
| 547 | p.Anchored = true |
| 548 | p.Parent = model |
| 549 | end |
| 550 | do |
| 551 | local p = Instance.new("Part") |
| 552 | p.Shape = Enum.PartType.Cylinder |
| 553 | p.Name = "APill3" |
| 554 | p.Size = Vector3.new(4, 1.5, 1.5) |
| 555 | p.CFrame = CFrame.new(-8, 12.04, 63) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 556 | p.BrickColor = BrickColor.new("Gold") |
| 557 | p.Material = Enum.Material.Glacier |
| 558 | p.MaterialVariant = "2022 Stud" |
| 559 | p.Anchored = true |
| 560 | p.Parent = model |
| 561 | end |
| 562 | do |
| 563 | local p = Instance.new("Part") |
| 564 | p.Shape = Enum.PartType.Cylinder |
| 565 | p.Name = "APill4" |
| 566 | p.Size = Vector3.new(4, 1.5, 1.5) |
| 567 | p.CFrame = CFrame.new(8, 12.08, 63) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 568 | p.BrickColor = BrickColor.new("Gold") |
| 569 | p.Material = Enum.Material.Glacier |
| 570 | p.MaterialVariant = "2022 Stud" |
| 571 | p.Anchored = true |
| 572 | p.Parent = model |
| 573 | end |
| 574 | do |
| 575 | local p = Instance.new("Part") |
| 576 | p.Name = "FloatRock1" |
| 577 | p.Size = Vector3.new(6, 8, 8) |
| 578 | p.CFrame = CFrame.new(20, 5, 65) * CFrame.Angles(math.rad(15), math.rad(45), math.rad(0)) |
| 579 | p.BrickColor = BrickColor.new("Sand yellow") |
| 580 | p.Material = Enum.Material.Glacier |
| 581 | p.MaterialVariant = "2022 Small Stud" |
| 582 | p.Anchored = true |
| 583 | p.Parent = model |
| 584 | end |
| 585 | do |
| 586 | local p = Instance.new("Part") |
| 587 | p.Name = "FloatRock2" |
| 588 | p.Size = Vector3.new(4, 6, 6) |
| 589 | p.CFrame = CFrame.new(-22, 7, 50) * CFrame.Angles(math.rad(-20), math.rad(30), math.rad(0)) |
| 590 | p.BrickColor = BrickColor.new("Brick yellow") |
| 591 | p.Material = Enum.Material.Glacier |
| 592 | p.MaterialVariant = "2022 Stud" |
| 593 | p.Anchored = true |
| 594 | p.Parent = model |
| 595 | end |
| 596 | do |
| 597 | local p = Instance.new("Part") |
| 598 | p.Name = "FloatRock3" |
| 599 | p.Size = Vector3.new(5, 7, 7) |
| 600 | p.CFrame = CFrame.new(0, 4, 75) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(0)) |
| 601 | p.BrickColor = BrickColor.new("Sand yellow") |
| 602 | p.Material = Enum.Material.Glacier |
| 603 | p.MaterialVariant = "2022 Small Stud" |
| 604 | p.Anchored = true |
| 605 | p.Parent = model |
| 606 | end |
| 607 | do |
| 608 | local rightV = Vector3.new(1,0,0).Unit |
| 609 | local upV = (Vector3.new(0,0,-1) - Vector3.new(0,0,-1):Dot(rightV)*rightV).Unit |
| 610 | local normalV = upV:Cross(rightV) |
| 611 | local pos = Vector3.new(-55, 4.04, 12) |
| 612 | local cyl = Instance.new("Part") |
| 613 | cyl.Shape = Enum.PartType.Cylinder |
| 614 | cyl.Size = Vector3.new(4, 24, 24) |
| 615 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 616 | cyl.BrickColor = BrickColor.new("Dark stone grey") |
| 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(4.2, 22, 22) |
| 624 | hole.CFrame = cyl.CFrame |
| 625 | hole.BrickColor = BrickColor.new("Dark stone grey") |
| 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 = 0.707107*rightV + -0.707107*upV |
| 633 | local edgePerp = 0.707107*rightV + 0.707107*upV |
| 634 | local cut = Instance.new("Part") |
| 635 | cut.Size = Vector3.new(48, 4.2, 48) |
| 636 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 24 * edgePerp, edgeDir, normalV) |
| 637 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 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 = -0.707107*rightV + -0.707107*upV |
| 645 | local edgePerp = 0.707107*rightV + -0.707107*upV |
| 646 | local cut = Instance.new("Part") |
| 647 | cut.Size = Vector3.new(48, 4.2, 48) |
| 648 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 24 * edgePerp, edgeDir, normalV) |
| 649 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 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 | do |
| 656 | local w = angBoxes[1]:IntersectAsync({angBoxes[2]}) |
| 657 | angBoxes[1]:Destroy(); angBoxes[2]:Destroy() |
| 658 | w.Anchored = true; w.Parent = workspace |
| 659 | table.insert(cuts, w) |
| 660 | end |
| 661 | if #cuts > 0 then |
| 662 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 663 | for _, c in ipairs(cuts) do c:Destroy() end |
| 664 | if ok and result then |
| 665 | cyl:Destroy() |
| 666 | result.Name = "MetalWall"; result.Anchored = true; result.Parent = model |
| 667 | else |
| 668 | cyl.Name = "MetalWall"; cyl.Parent = model |
| 669 | end |
| 670 | else |
| 671 | cyl.Name = "MetalWall"; cyl.Parent = model |
| 672 | end |
| 673 | end |
| 674 | do |
| 675 | local upV = Vector3.new(0,1,0).Unit |
| 676 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 677 | local forwardV = rightV:Cross(upV) |
| 678 | local pos = Vector3.new(0, 14, 55) |
| 679 | local ball = Instance.new("Part") |
| 680 | ball.Shape = Enum.PartType.Ball |
| 681 | ball.Size = Vector3.new(20, 20, 20) |
| 682 | ball.CFrame = CFrame.new(pos) |
| 683 | ball.BrickColor = BrickColor.new("Cool yellow") |
| 684 | ball.Material = Enum.Material.Glacier |
| 685 | ball.MaterialVariant = "2022 Stud" |
| 686 | ball.Anchored = true; ball.Parent = workspace |
| 687 | local cuts = {} |
| 688 | do |
| 689 | local h = 0 |
| 690 | local cut = Instance.new("Part") |
| 691 | cut.Size = Vector3.new(40, 40, 40) |
| 692 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-20), rightV, upV) |
| 693 | cut.BrickColor = BrickColor.new("Cool yellow") |
| 694 | cut.Material = Enum.Material.Glacier |
| 695 | cut.MaterialVariant = "2022 Stud" |
| 696 | cut.Anchored = true; cut.Parent = workspace |
| 697 | table.insert(cuts, cut) |
| 698 | end |
| 699 | if #cuts > 0 then |
| 700 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 701 | for _, c in ipairs(cuts) do c:Destroy() end |
| 702 | if ok and result then |
| 703 | ball:Destroy() |
| 704 | result.Name = "AirDome"; result.Anchored = true; result.Parent = model |
| 705 | else |
| 706 | ball.Name = "AirDome"; ball.Parent = model |
| 707 | end |
| 708 | else |
| 709 | ball.Name = "AirDome"; ball.Parent = model |
| 710 | end |
| 711 | end |
| 712 | model.PrimaryPart = model:FindFirstChild("CenterBase") |
| 713 | print("FiveNationsArena built: " .. #model:GetChildren() .. " parts") |
Loading comments...