Loading model...
by Jan Brzeziński · 9/28/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: VolcanoEgg |
| 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 = "VolcanoEgg" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Dark stone grey"] = "2022 Stud", |
| 25 | ["Dark taupe"] = "2022 Stud", |
| 26 | ["Really black"] = "2022 Universal", |
| 27 | } |
| 28 | do |
| 29 | local p = Instance.new("Part") |
| 30 | p.Shape = Enum.PartType.Cylinder |
| 31 | p.Name = "EggMid" |
| 32 | p.Size = Vector3.new(2, 7, 7) |
| 33 | p.CFrame = CFrame.new(0, 3.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 34 | p.BrickColor = BrickColor.new("Dark taupe") |
| 35 | p.Material = Enum.Material.Glacier |
| 36 | p.MaterialVariant = "2022 Stud" |
| 37 | p.Anchored = true |
| 38 | p.Parent = model |
| 39 | end |
| 40 | do |
| 41 | local p = Instance.new("Part") |
| 42 | p.Name = "LavaVeinF1" |
| 43 | p.Size = Vector3.new(2.73679, 0.2, 0.2) |
| 44 | p.CFrame = CFrame.new(-0.25, 6.5, -2.1) * CFrame.Angles(math.rad(-180), math.rad(74.4759), math.rad(133.048)) |
| 45 | p.BrickColor = BrickColor.new("Bright yellow") |
| 46 | p.Material = Enum.Material.Neon |
| 47 | p.Anchored = true |
| 48 | p.Parent = model |
| 49 | end |
| 50 | do |
| 51 | local p = Instance.new("Part") |
| 52 | p.Name = "LavaVeinF2" |
| 53 | p.Size = Vector3.new(2.07123, 0.25, 0.25) |
| 54 | p.CFrame = CFrame.new(-0.75, 4.5, -3.1) * CFrame.Angles(math.rad(-180), math.rad(21.8014), math.rad(105.07)) |
| 55 | p.BrickColor = BrickColor.new("Deep orange") |
| 56 | p.Material = Enum.Material.Neon |
| 57 | p.Anchored = true |
| 58 | p.Parent = model |
| 59 | end |
| 60 | do |
| 61 | local p = Instance.new("Part") |
| 62 | p.Name = "LavaVeinF3" |
| 63 | p.Size = Vector3.new(1.63095, 0.3, 0.3) |
| 64 | p.CFrame = CFrame.new(-1.25, 2.75, -3) * CFrame.Angles(math.rad(-180), math.rad(-38.6598), math.rad(113.116)) |
| 65 | p.BrickColor = BrickColor.new("Bright red") |
| 66 | p.Material = Enum.Material.Neon |
| 67 | p.Anchored = true |
| 68 | p.Parent = model |
| 69 | end |
| 70 | do |
| 71 | local p = Instance.new("Part") |
| 72 | p.Name = "LavaVeinR1" |
| 73 | p.Size = Vector3.new(2.06155, 0.15, 0.15) |
| 74 | p.CFrame = CFrame.new(1.5, 6.75, -1) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-46.6861)) |
| 75 | p.BrickColor = BrickColor.new("Bright yellow") |
| 76 | p.Material = Enum.Material.Neon |
| 77 | p.Anchored = true |
| 78 | p.Parent = model |
| 79 | end |
| 80 | do |
| 81 | local p = Instance.new("Part") |
| 82 | p.Name = "LavaVeinR2" |
| 83 | p.Size = Vector3.new(1.77201, 0.2, 0.2) |
| 84 | p.CFrame = CFrame.new(2.4, 5.25, -1.25) * CFrame.Angles(math.rad(0), math.rad(-32.0054), math.rad(-57.8329)) |
| 85 | p.BrickColor = BrickColor.new("Deep orange") |
| 86 | p.Material = Enum.Material.Neon |
| 87 | p.Anchored = true |
| 88 | p.Parent = model |
| 89 | end |
| 90 | do |
| 91 | local p = Instance.new("Part") |
| 92 | p.Name = "LavaVeinR3" |
| 93 | p.Size = Vector3.new(1.84662, 0.25, 0.25) |
| 94 | p.CFrame = CFrame.new(3, 3.75, -0.5) * CFrame.Angles(math.rad(0), math.rad(-68.1986), math.rad(-54.3208)) |
| 95 | p.BrickColor = BrickColor.new("Bright red") |
| 96 | p.Material = Enum.Material.Neon |
| 97 | p.Anchored = true |
| 98 | p.Parent = model |
| 99 | end |
| 100 | do |
| 101 | local p = Instance.new("Part") |
| 102 | p.Name = "LavaVeinL1" |
| 103 | p.Size = Vector3.new(1.87083, 0.15, 0.15) |
| 104 | p.CFrame = CFrame.new(-1.5, 6.75, 0.75) * CFrame.Angles(math.rad(-180), math.rad(-26.5651), math.rad(126.699)) |
| 105 | p.BrickColor = BrickColor.new("Bright yellow") |
| 106 | p.Material = Enum.Material.Neon |
| 107 | p.Anchored = true |
| 108 | p.Parent = model |
| 109 | end |
| 110 | do |
| 111 | local p = Instance.new("Part") |
| 112 | p.Name = "LavaVeinL2" |
| 113 | p.Size = Vector3.new(1.65831, 0.2, 0.2) |
| 114 | p.CFrame = CFrame.new(-2.25, 5.25, 1.25) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(115.239)) |
| 115 | p.BrickColor = BrickColor.new("Deep orange") |
| 116 | p.Material = Enum.Material.Neon |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Name = "LavaVeinL3" |
| 123 | p.Size = Vector3.new(1.60935, 0.25, 0.25) |
| 124 | p.CFrame = CFrame.new(-2.65, 3.75, 1.75) * CFrame.Angles(math.rad(-180), math.rad(-59.0362), math.rad(111.243)) |
| 125 | p.BrickColor = BrickColor.new("Bright red") |
| 126 | p.Material = Enum.Material.Neon |
| 127 | p.Anchored = true |
| 128 | p.Parent = model |
| 129 | end |
| 130 | do |
| 131 | local p = Instance.new("Part") |
| 132 | p.Shape = Enum.PartType.Ball |
| 133 | p.Name = "Drop1" |
| 134 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 135 | p.CFrame = CFrame.new(0, 8.5, 0) |
| 136 | p.BrickColor = BrickColor.new("Bright yellow") |
| 137 | p.Material = Enum.Material.Neon |
| 138 | p.Anchored = true |
| 139 | p.Parent = model |
| 140 | end |
| 141 | do |
| 142 | local p = Instance.new("Part") |
| 143 | p.Shape = Enum.PartType.Ball |
| 144 | p.Name = "Drop2" |
| 145 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 146 | p.CFrame = CFrame.new(-0.5, 9.5, -0.5) |
| 147 | p.BrickColor = BrickColor.new("Deep orange") |
| 148 | p.Material = Enum.Material.Neon |
| 149 | p.Anchored = true |
| 150 | p.Parent = model |
| 151 | end |
| 152 | do |
| 153 | local p = Instance.new("Part") |
| 154 | p.Shape = Enum.PartType.Ball |
| 155 | p.Name = "Drop3" |
| 156 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 157 | p.CFrame = CFrame.new(0.8, 9, 0.5) |
| 158 | p.BrickColor = BrickColor.new("Deep orange") |
| 159 | p.Material = Enum.Material.Neon |
| 160 | p.Anchored = true |
| 161 | p.Parent = model |
| 162 | end |
| 163 | do |
| 164 | local p = Instance.new("Part") |
| 165 | p.Name = "FlyRock1" |
| 166 | p.Size = Vector3.new(0.8, 0.8, 0.8) |
| 167 | p.CFrame = CFrame.new(-1, 10.5, -1) * CFrame.Angles(math.rad(45), math.rad(30), math.rad(15)) |
| 168 | p.BrickColor = BrickColor.new("Really black") |
| 169 | p.Material = Enum.Material.Glacier |
| 170 | p.MaterialVariant = "2022 Universal" |
| 171 | p.Anchored = true |
| 172 | p.Parent = model |
| 173 | end |
| 174 | do |
| 175 | local p = Instance.new("Part") |
| 176 | p.Name = "FlyRock2" |
| 177 | p.Size = Vector3.new(0.6, 0.6, 0.6) |
| 178 | p.CFrame = CFrame.new(1.5, 11, 0.5) * CFrame.Angles(math.rad(15), math.rad(60), math.rad(45)) |
| 179 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 180 | p.Material = Enum.Material.Glacier |
| 181 | p.MaterialVariant = "2022 Stud" |
| 182 | p.Anchored = true |
| 183 | p.Parent = model |
| 184 | end |
| 185 | do |
| 186 | local p = Instance.new("Part") |
| 187 | p.Name = "FlyRock3" |
| 188 | p.Size = Vector3.new(1, 1, 1) |
| 189 | p.CFrame = CFrame.new(0.2, 12, -0.2) * CFrame.Angles(math.rad(70), math.rad(20), math.rad(80)) |
| 190 | p.BrickColor = BrickColor.new("Really black") |
| 191 | p.Material = Enum.Material.Glacier |
| 192 | p.MaterialVariant = "2022 Universal" |
| 193 | p.Anchored = true |
| 194 | p.Parent = model |
| 195 | end |
| 196 | do |
| 197 | local p = Instance.new("Part") |
| 198 | p.Name = "FlyRock4" |
| 199 | p.Size = Vector3.new(0.5, 0.5, 0.5) |
| 200 | p.CFrame = CFrame.new(-0.8, 11.5, 1.2) * CFrame.Angles(math.rad(30), math.rad(45), math.rad(60)) |
| 201 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 202 | p.Material = Enum.Material.Glacier |
| 203 | p.MaterialVariant = "2022 Stud" |
| 204 | p.Anchored = true |
| 205 | p.Parent = model |
| 206 | end |
| 207 | do |
| 208 | local p = Instance.new("Part") |
| 209 | p.Shape = Enum.PartType.Ball |
| 210 | p.Name = "FlyLava1" |
| 211 | p.Size = Vector3.new(0.4, 0.4, 0.4) |
| 212 | p.CFrame = CFrame.new(-1, 10.2, -1) |
| 213 | p.BrickColor = BrickColor.new("Bright yellow") |
| 214 | p.Material = Enum.Material.Neon |
| 215 | p.Anchored = true |
| 216 | p.Parent = model |
| 217 | end |
| 218 | do |
| 219 | local p = Instance.new("Part") |
| 220 | p.Shape = Enum.PartType.Ball |
| 221 | p.Name = "FlyLava2" |
| 222 | p.Size = Vector3.new(0.3, 0.3, 0.3) |
| 223 | p.CFrame = CFrame.new(1.5, 10.8, 0.5) |
| 224 | p.BrickColor = BrickColor.new("Deep orange") |
| 225 | p.Material = Enum.Material.Neon |
| 226 | p.Anchored = true |
| 227 | p.Parent = model |
| 228 | end |
| 229 | do |
| 230 | local rightV = Vector3.new(1,0,0).Unit |
| 231 | local upV = (Vector3.new(0,0,-1) - Vector3.new(0,0,-1):Dot(rightV)*rightV).Unit |
| 232 | local normalV = upV:Cross(rightV) |
| 233 | local pos = Vector3.new(0, 7.5, 0) |
| 234 | local cyl = Instance.new("Part") |
| 235 | cyl.Shape = Enum.PartType.Cylinder |
| 236 | cyl.Size = Vector3.new(0.5, 3, 3) |
| 237 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 238 | cyl.BrickColor = BrickColor.new("Dark taupe") |
| 239 | cyl.Material = Enum.Material.Glacier |
| 240 | cyl.MaterialVariant = "2022 Stud" |
| 241 | cyl.Anchored = true; cyl.Parent = workspace |
| 242 | local cuts = {} |
| 243 | local hole = Instance.new("Part") |
| 244 | hole.Shape = Enum.PartType.Cylinder |
| 245 | hole.Size = Vector3.new(0.7, 1.6, 1.6) |
| 246 | hole.CFrame = cyl.CFrame |
| 247 | hole.BrickColor = BrickColor.new("Dark taupe") |
| 248 | hole.Material = Enum.Material.Glacier |
| 249 | hole.MaterialVariant = "2022 Stud" |
| 250 | hole.Anchored = true; hole.Parent = workspace |
| 251 | table.insert(cuts, hole) |
| 252 | if #cuts > 0 then |
| 253 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 254 | for _, c in ipairs(cuts) do c:Destroy() end |
| 255 | if ok and result then |
| 256 | cyl:Destroy() |
| 257 | result.Name = "CraterRim"; result.Anchored = true; result.Parent = model |
| 258 | else |
| 259 | cyl.Name = "CraterRim"; cyl.Parent = model |
| 260 | end |
| 261 | else |
| 262 | cyl.Name = "CraterRim"; cyl.Parent = model |
| 263 | end |
| 264 | end |
| 265 | do |
| 266 | local upV = Vector3.new(0,1,0).Unit |
| 267 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 268 | local forwardV = rightV:Cross(upV) |
| 269 | local pos = Vector3.new(0, 2.46, 0) |
| 270 | local ball = Instance.new("Part") |
| 271 | ball.Shape = Enum.PartType.Ball |
| 272 | ball.Size = Vector3.new(7, 7, 7) |
| 273 | ball.CFrame = CFrame.new(pos) |
| 274 | ball.BrickColor = BrickColor.new("Dark taupe") |
| 275 | ball.Material = Enum.Material.Glacier |
| 276 | ball.MaterialVariant = "2022 Stud" |
| 277 | ball.Anchored = true; ball.Parent = workspace |
| 278 | local cuts = {} |
| 279 | do |
| 280 | local h = 0 |
| 281 | local cut = Instance.new("Part") |
| 282 | cut.Size = Vector3.new(14, 14, 14) |
| 283 | cut.CFrame = CFrame.fromMatrix(pos + upV*(7), rightV, upV) |
| 284 | cut.BrickColor = BrickColor.new("Dark taupe") |
| 285 | cut.Material = Enum.Material.Glacier |
| 286 | cut.MaterialVariant = "2022 Stud" |
| 287 | cut.Anchored = true; cut.Parent = workspace |
| 288 | table.insert(cuts, cut) |
| 289 | end |
| 290 | if #cuts > 0 then |
| 291 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 292 | for _, c in ipairs(cuts) do c:Destroy() end |
| 293 | if ok and result then |
| 294 | ball:Destroy() |
| 295 | result.Name = "EggBase"; result.Anchored = true; result.Parent = model |
| 296 | else |
| 297 | ball.Name = "EggBase"; ball.Parent = model |
| 298 | end |
| 299 | else |
| 300 | ball.Name = "EggBase"; ball.Parent = model |
| 301 | end |
| 302 | end |
| 303 | do |
| 304 | local upV = Vector3.new(0,1,0).Unit |
| 305 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 306 | local forwardV = rightV:Cross(upV) |
| 307 | local pos = Vector3.new(0, 4.54, 0) |
| 308 | local ball = Instance.new("Part") |
| 309 | ball.Shape = Enum.PartType.Ball |
| 310 | ball.Size = Vector3.new(7, 7, 7) |
| 311 | ball.CFrame = CFrame.new(pos) |
| 312 | ball.BrickColor = BrickColor.new("Dark taupe") |
| 313 | ball.Material = Enum.Material.Glacier |
| 314 | ball.MaterialVariant = "2022 Stud" |
| 315 | ball.Anchored = true; ball.Parent = workspace |
| 316 | local cuts = {} |
| 317 | do |
| 318 | local h = 0 |
| 319 | local cut = Instance.new("Part") |
| 320 | cut.Size = Vector3.new(14, 14, 14) |
| 321 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-7), rightV, upV) |
| 322 | cut.BrickColor = BrickColor.new("Dark taupe") |
| 323 | cut.Material = Enum.Material.Glacier |
| 324 | cut.MaterialVariant = "2022 Stud" |
| 325 | cut.Anchored = true; cut.Parent = workspace |
| 326 | table.insert(cuts, cut) |
| 327 | end |
| 328 | do |
| 329 | local h = 3.288924 |
| 330 | local cut = Instance.new("Part") |
| 331 | cut.Size = Vector3.new(14, 14, 14) |
| 332 | cut.CFrame = CFrame.fromMatrix(pos + upV*(10.288924), rightV, upV) |
| 333 | cut.BrickColor = BrickColor.new("Dark taupe") |
| 334 | cut.Material = Enum.Material.Glacier |
| 335 | cut.MaterialVariant = "2022 Stud" |
| 336 | cut.Anchored = true; cut.Parent = workspace |
| 337 | table.insert(cuts, cut) |
| 338 | end |
| 339 | if #cuts > 0 then |
| 340 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 341 | for _, c in ipairs(cuts) do c:Destroy() end |
| 342 | if ok and result then |
| 343 | ball:Destroy() |
| 344 | result.Name = "EggTop"; result.Anchored = true; result.Parent = model |
| 345 | else |
| 346 | ball.Name = "EggTop"; ball.Parent = model |
| 347 | end |
| 348 | else |
| 349 | ball.Name = "EggTop"; ball.Parent = model |
| 350 | end |
| 351 | end |
| 352 | do |
| 353 | local upV = Vector3.new(1,0,0).Unit |
| 354 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 355 | local forwardV = rightV:Cross(upV) |
| 356 | local pos = Vector3.new(-3.2, 3.5, 0) |
| 357 | local ball = Instance.new("Part") |
| 358 | ball.Shape = Enum.PartType.Ball |
| 359 | ball.Size = Vector3.new(4, 4, 4) |
| 360 | ball.CFrame = CFrame.new(pos) |
| 361 | ball.BrickColor = BrickColor.new("Really black") |
| 362 | ball.Material = Enum.Material.Glacier |
| 363 | ball.MaterialVariant = "2022 Universal" |
| 364 | ball.Anchored = true; ball.Parent = workspace |
| 365 | local cuts = {} |
| 366 | do |
| 367 | local h = 0 |
| 368 | local cut = Instance.new("Part") |
| 369 | cut.Size = Vector3.new(8, 8, 8) |
| 370 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-4), rightV, upV) |
| 371 | cut.BrickColor = BrickColor.new("Really black") |
| 372 | cut.Material = Enum.Material.Glacier |
| 373 | cut.MaterialVariant = "2022 Universal" |
| 374 | cut.Anchored = true; cut.Parent = workspace |
| 375 | table.insert(cuts, cut) |
| 376 | end |
| 377 | if #cuts > 0 then |
| 378 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 379 | for _, c in ipairs(cuts) do c:Destroy() end |
| 380 | if ok and result then |
| 381 | ball:Destroy() |
| 382 | result.Name = "RockLeft"; result.Anchored = true; result.Parent = model |
| 383 | else |
| 384 | ball.Name = "RockLeft"; ball.Parent = model |
| 385 | end |
| 386 | else |
| 387 | ball.Name = "RockLeft"; ball.Parent = model |
| 388 | end |
| 389 | end |
| 390 | do |
| 391 | local upV = Vector3.new(0.5,0.5,-0.5).Unit |
| 392 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 393 | local forwardV = rightV:Cross(upV) |
| 394 | local pos = Vector3.new(2.5, 2.5, -2) |
| 395 | local ball = Instance.new("Part") |
| 396 | ball.Shape = Enum.PartType.Ball |
| 397 | ball.Size = Vector3.new(3.6, 3.6, 3.6) |
| 398 | ball.CFrame = CFrame.new(pos) |
| 399 | ball.BrickColor = BrickColor.new("Really black") |
| 400 | ball.Material = Enum.Material.Glacier |
| 401 | ball.MaterialVariant = "2022 Universal" |
| 402 | ball.Anchored = true; ball.Parent = workspace |
| 403 | local cuts = {} |
| 404 | do |
| 405 | local h = 0 |
| 406 | local cut = Instance.new("Part") |
| 407 | cut.Size = Vector3.new(7.2, 7.2, 7.2) |
| 408 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-3.6), rightV, upV) |
| 409 | cut.BrickColor = BrickColor.new("Really black") |
| 410 | cut.Material = Enum.Material.Glacier |
| 411 | cut.MaterialVariant = "2022 Universal" |
| 412 | cut.Anchored = true; cut.Parent = workspace |
| 413 | table.insert(cuts, cut) |
| 414 | end |
| 415 | if #cuts > 0 then |
| 416 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 417 | for _, c in ipairs(cuts) do c:Destroy() end |
| 418 | if ok and result then |
| 419 | ball:Destroy() |
| 420 | result.Name = "RockRightFront"; result.Anchored = true; result.Parent = model |
| 421 | else |
| 422 | ball.Name = "RockRightFront"; ball.Parent = model |
| 423 | end |
| 424 | else |
| 425 | ball.Name = "RockRightFront"; ball.Parent = model |
| 426 | end |
| 427 | end |
| 428 | do |
| 429 | local upV = Vector3.new(0.5,0.5,0.5).Unit |
| 430 | local rightV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(upV)*upV).Unit |
| 431 | local forwardV = rightV:Cross(upV) |
| 432 | local pos = Vector3.new(2, 3, 2.5) |
| 433 | local ball = Instance.new("Part") |
| 434 | ball.Shape = Enum.PartType.Ball |
| 435 | ball.Size = Vector3.new(3, 3, 3) |
| 436 | ball.CFrame = CFrame.new(pos) |
| 437 | ball.BrickColor = BrickColor.new("Really black") |
| 438 | ball.Material = Enum.Material.Glacier |
| 439 | ball.MaterialVariant = "2022 Universal" |
| 440 | ball.Anchored = true; ball.Parent = workspace |
| 441 | local cuts = {} |
| 442 | do |
| 443 | local h = 0 |
| 444 | local cut = Instance.new("Part") |
| 445 | cut.Size = Vector3.new(6, 6, 6) |
| 446 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-3), rightV, upV) |
| 447 | cut.BrickColor = BrickColor.new("Really black") |
| 448 | cut.Material = Enum.Material.Glacier |
| 449 | cut.MaterialVariant = "2022 Universal" |
| 450 | cut.Anchored = true; cut.Parent = workspace |
| 451 | table.insert(cuts, cut) |
| 452 | end |
| 453 | if #cuts > 0 then |
| 454 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 455 | for _, c in ipairs(cuts) do c:Destroy() end |
| 456 | if ok and result then |
| 457 | ball:Destroy() |
| 458 | result.Name = "RockRightBack"; result.Anchored = true; result.Parent = model |
| 459 | else |
| 460 | ball.Name = "RockRightBack"; ball.Parent = model |
| 461 | end |
| 462 | else |
| 463 | ball.Name = "RockRightBack"; ball.Parent = model |
| 464 | end |
| 465 | end |
| 466 | do |
| 467 | local upV = Vector3.new(0,0,-1).Unit |
| 468 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 469 | local forwardV = rightV:Cross(upV) |
| 470 | local pos = Vector3.new(0, 2, -3.2) |
| 471 | local ball = Instance.new("Part") |
| 472 | ball.Shape = Enum.PartType.Ball |
| 473 | ball.Size = Vector3.new(3.2, 3.2, 3.2) |
| 474 | ball.CFrame = CFrame.new(pos) |
| 475 | ball.BrickColor = BrickColor.new("Dark stone grey") |
| 476 | ball.Material = Enum.Material.Glacier |
| 477 | ball.MaterialVariant = "2022 Stud" |
| 478 | ball.Anchored = true; ball.Parent = workspace |
| 479 | local cuts = {} |
| 480 | do |
| 481 | local h = 0 |
| 482 | local cut = Instance.new("Part") |
| 483 | cut.Size = Vector3.new(6.4, 6.4, 6.4) |
| 484 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-3.2), rightV, upV) |
| 485 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 486 | cut.Material = Enum.Material.Glacier |
| 487 | cut.MaterialVariant = "2022 Stud" |
| 488 | cut.Anchored = true; cut.Parent = workspace |
| 489 | table.insert(cuts, cut) |
| 490 | end |
| 491 | if #cuts > 0 then |
| 492 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 493 | for _, c in ipairs(cuts) do c:Destroy() end |
| 494 | if ok and result then |
| 495 | ball:Destroy() |
| 496 | result.Name = "RockFront"; result.Anchored = true; result.Parent = model |
| 497 | else |
| 498 | ball.Name = "RockFront"; ball.Parent = model |
| 499 | end |
| 500 | else |
| 501 | ball.Name = "RockFront"; ball.Parent = model |
| 502 | end |
| 503 | end |
| 504 | do |
| 505 | local upV = Vector3.new(0,0,-1).Unit |
| 506 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 507 | local forwardV = rightV:Cross(upV) |
| 508 | local pos = Vector3.new(-1.5, 1, -2.5) |
| 509 | local ball = Instance.new("Part") |
| 510 | ball.Shape = Enum.PartType.Ball |
| 511 | ball.Size = Vector3.new(1.2, 1.2, 1.2) |
| 512 | ball.CFrame = CFrame.new(pos) |
| 513 | ball.BrickColor = BrickColor.new("Dark stone grey") |
| 514 | ball.Material = Enum.Material.Glacier |
| 515 | ball.MaterialVariant = "2022 Stud" |
| 516 | ball.Anchored = true; ball.Parent = workspace |
| 517 | local cuts = {} |
| 518 | do |
| 519 | local h = 0 |
| 520 | local cut = Instance.new("Part") |
| 521 | cut.Size = Vector3.new(2.4, 2.4, 2.4) |
| 522 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.2), rightV, upV) |
| 523 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 524 | cut.Material = Enum.Material.Glacier |
| 525 | cut.MaterialVariant = "2022 Stud" |
| 526 | cut.Anchored = true; cut.Parent = workspace |
| 527 | table.insert(cuts, cut) |
| 528 | end |
| 529 | if #cuts > 0 then |
| 530 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 531 | for _, c in ipairs(cuts) do c:Destroy() end |
| 532 | if ok and result then |
| 533 | ball:Destroy() |
| 534 | result.Name = "SmallRock1"; result.Anchored = true; result.Parent = model |
| 535 | else |
| 536 | ball.Name = "SmallRock1"; ball.Parent = model |
| 537 | end |
| 538 | else |
| 539 | ball.Name = "SmallRock1"; ball.Parent = model |
| 540 | end |
| 541 | end |
| 542 | do |
| 543 | local upV = Vector3.new(0,0,-1).Unit |
| 544 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 545 | local forwardV = rightV:Cross(upV) |
| 546 | local pos = Vector3.new(1, 0.8, -2.8) |
| 547 | local ball = Instance.new("Part") |
| 548 | ball.Shape = Enum.PartType.Ball |
| 549 | ball.Size = Vector3.new(1, 1, 1) |
| 550 | ball.CFrame = CFrame.new(pos) |
| 551 | ball.BrickColor = BrickColor.new("Really black") |
| 552 | ball.Material = Enum.Material.Glacier |
| 553 | ball.MaterialVariant = "2022 Universal" |
| 554 | ball.Anchored = true; ball.Parent = workspace |
| 555 | local cuts = {} |
| 556 | do |
| 557 | local h = 0 |
| 558 | local cut = Instance.new("Part") |
| 559 | cut.Size = Vector3.new(2, 2, 2) |
| 560 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1), rightV, upV) |
| 561 | cut.BrickColor = BrickColor.new("Really black") |
| 562 | cut.Material = Enum.Material.Glacier |
| 563 | cut.MaterialVariant = "2022 Universal" |
| 564 | cut.Anchored = true; cut.Parent = workspace |
| 565 | table.insert(cuts, cut) |
| 566 | end |
| 567 | if #cuts > 0 then |
| 568 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 569 | for _, c in ipairs(cuts) do c:Destroy() end |
| 570 | if ok and result then |
| 571 | ball:Destroy() |
| 572 | result.Name = "SmallRock2"; result.Anchored = true; result.Parent = model |
| 573 | else |
| 574 | ball.Name = "SmallRock2"; ball.Parent = model |
| 575 | end |
| 576 | else |
| 577 | ball.Name = "SmallRock2"; ball.Parent = model |
| 578 | end |
| 579 | end |
| 580 | do |
| 581 | local upV = Vector3.new(0,0,1).Unit |
| 582 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 583 | local forwardV = rightV:Cross(upV) |
| 584 | local pos = Vector3.new(-2, 1.5, 2) |
| 585 | local ball = Instance.new("Part") |
| 586 | ball.Shape = Enum.PartType.Ball |
| 587 | ball.Size = Vector3.new(1.4, 1.4, 1.4) |
| 588 | ball.CFrame = CFrame.new(pos) |
| 589 | ball.BrickColor = BrickColor.new("Dark stone grey") |
| 590 | ball.Material = Enum.Material.Glacier |
| 591 | ball.MaterialVariant = "2022 Stud" |
| 592 | ball.Anchored = true; ball.Parent = workspace |
| 593 | local cuts = {} |
| 594 | do |
| 595 | local h = 0 |
| 596 | local cut = Instance.new("Part") |
| 597 | cut.Size = Vector3.new(2.8, 2.8, 2.8) |
| 598 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-1.4), rightV, upV) |
| 599 | cut.BrickColor = BrickColor.new("Dark stone grey") |
| 600 | cut.Material = Enum.Material.Glacier |
| 601 | cut.MaterialVariant = "2022 Stud" |
| 602 | cut.Anchored = true; cut.Parent = workspace |
| 603 | table.insert(cuts, cut) |
| 604 | end |
| 605 | if #cuts > 0 then |
| 606 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 607 | for _, c in ipairs(cuts) do c:Destroy() end |
| 608 | if ok and result then |
| 609 | ball:Destroy() |
| 610 | result.Name = "SmallRock3"; result.Anchored = true; result.Parent = model |
| 611 | else |
| 612 | ball.Name = "SmallRock3"; ball.Parent = model |
| 613 | end |
| 614 | else |
| 615 | ball.Name = "SmallRock3"; ball.Parent = model |
| 616 | end |
| 617 | end |
| 618 | model.PrimaryPart = model:FindFirstChild("EggMid") |
| 619 | print("VolcanoEgg built: " .. #model:GetChildren() .. " parts") |
Loading comments...