Loading model...
by Aiden · 8/27/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: IncubatorMachine |
| 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 = "IncubatorMachine" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright blue"] = "2022 Universal", |
| 25 | ["Bright yellow"] = "2022 Big Stud", |
| 26 | ["Dark stone grey"] = "2022 Stud", |
| 27 | ["Institutional white"] = "2022 Stud", |
| 28 | ["Medium stone grey"] = "2022 Inlet", |
| 29 | ["Navy blue"] = "2022 Stud", |
| 30 | ["Toothpaste"] = "2022 Stud", |
| 31 | } |
| 32 | do |
| 33 | local p = Instance.new("Part") |
| 34 | p.Name = "Leg_-6.0_-4.0" |
| 35 | p.Size = Vector3.new(2, 3, 2) |
| 36 | p.CFrame = CFrame.new(-6.04, 2.42, -4) |
| 37 | p.BrickColor = BrickColor.new("Institutional white") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Stud" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Name = "LegFoot_-6.0_-4.0" |
| 46 | p.Size = Vector3.new(2.2, 1, 2.2) |
| 47 | p.CFrame = CFrame.new(-6, 1.38, -4) |
| 48 | p.BrickColor = BrickColor.new("Bright yellow") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Big Stud" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Name = "Leg_-6.0_4.0" |
| 57 | p.Size = Vector3.new(2, 3, 2) |
| 58 | p.CFrame = CFrame.new(-6, 2.42, 4) |
| 59 | p.BrickColor = BrickColor.new("Institutional white") |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Stud" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Name = "LegFoot_-6.0_4.0" |
| 68 | p.Size = Vector3.new(2.2, 1, 2.2) |
| 69 | p.CFrame = CFrame.new(-6, 1.38, 4) |
| 70 | p.BrickColor = BrickColor.new("Bright yellow") |
| 71 | p.Material = Enum.Material.Glacier |
| 72 | p.MaterialVariant = "2022 Big Stud" |
| 73 | p.Anchored = true |
| 74 | p.Parent = model |
| 75 | end |
| 76 | do |
| 77 | local p = Instance.new("Part") |
| 78 | p.Name = "Leg_6.0_-4.0" |
| 79 | p.Size = Vector3.new(2, 3, 2) |
| 80 | p.CFrame = CFrame.new(6.04, 2.42, -4) |
| 81 | p.BrickColor = BrickColor.new("Institutional white") |
| 82 | p.Material = Enum.Material.Glacier |
| 83 | p.MaterialVariant = "2022 Stud" |
| 84 | p.Anchored = true |
| 85 | p.Parent = model |
| 86 | end |
| 87 | do |
| 88 | local p = Instance.new("Part") |
| 89 | p.Name = "LegFoot_6.0_-4.0" |
| 90 | p.Size = Vector3.new(2.2, 1, 2.2) |
| 91 | p.CFrame = CFrame.new(6, 1.38, -4) |
| 92 | p.BrickColor = BrickColor.new("Bright yellow") |
| 93 | p.Material = Enum.Material.Glacier |
| 94 | p.MaterialVariant = "2022 Big Stud" |
| 95 | p.Anchored = true |
| 96 | p.Parent = model |
| 97 | end |
| 98 | do |
| 99 | local p = Instance.new("Part") |
| 100 | p.Name = "Leg_6.0_4.0" |
| 101 | p.Size = Vector3.new(2, 3, 2) |
| 102 | p.CFrame = CFrame.new(6, 2.42, 4) |
| 103 | p.BrickColor = BrickColor.new("Institutional white") |
| 104 | p.Material = Enum.Material.Glacier |
| 105 | p.MaterialVariant = "2022 Stud" |
| 106 | p.Anchored = true |
| 107 | p.Parent = model |
| 108 | end |
| 109 | do |
| 110 | local p = Instance.new("Part") |
| 111 | p.Name = "LegFoot_6.0_4.0" |
| 112 | p.Size = Vector3.new(2.2, 1, 2.2) |
| 113 | p.CFrame = CFrame.new(6, 1.38, 4) |
| 114 | p.BrickColor = BrickColor.new("Bright yellow") |
| 115 | p.Material = Enum.Material.Glacier |
| 116 | p.MaterialVariant = "2022 Big Stud" |
| 117 | p.Anchored = true |
| 118 | p.Parent = model |
| 119 | end |
| 120 | do |
| 121 | local p = Instance.new("Part") |
| 122 | p.Name = "BodyMain" |
| 123 | p.Size = Vector3.new(14, 12, 10) |
| 124 | p.CFrame = CFrame.new(0, 10, 0) |
| 125 | p.BrickColor = BrickColor.new("Institutional white") |
| 126 | p.Material = Enum.Material.Glacier |
| 127 | p.MaterialVariant = "2022 Stud" |
| 128 | p.Anchored = true |
| 129 | p.Parent = model |
| 130 | end |
| 131 | do |
| 132 | local p = Instance.new("Part") |
| 133 | p.Name = "BottomTrimGold" |
| 134 | p.Size = Vector3.new(14.4, 1, 10.4) |
| 135 | p.CFrame = CFrame.new(0, 4.46, 0) |
| 136 | p.BrickColor = BrickColor.new("Bright yellow") |
| 137 | p.Material = Enum.Material.Glacier |
| 138 | p.MaterialVariant = "2022 Big Stud" |
| 139 | p.Anchored = true |
| 140 | p.Parent = model |
| 141 | end |
| 142 | do |
| 143 | local p = Instance.new("Part") |
| 144 | p.Name = "BottomTrimGrey" |
| 145 | p.Size = Vector3.new(14.2, 1, 10.2) |
| 146 | p.CFrame = CFrame.new(0, 5.54, 0) |
| 147 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 148 | p.Material = Enum.Material.Glacier |
| 149 | p.MaterialVariant = "2022 Inlet" |
| 150 | p.Anchored = true |
| 151 | p.Parent = model |
| 152 | end |
| 153 | do |
| 154 | local p = Instance.new("Part") |
| 155 | p.Name = "TopTrimGrey" |
| 156 | p.Size = Vector3.new(14.2, 1, 10.2) |
| 157 | p.CFrame = CFrame.new(0, 14.46, 0) |
| 158 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 159 | p.Material = Enum.Material.Glacier |
| 160 | p.MaterialVariant = "2022 Inlet" |
| 161 | p.Anchored = true |
| 162 | p.Parent = model |
| 163 | end |
| 164 | do |
| 165 | local p = Instance.new("Part") |
| 166 | p.Name = "TopTrimGold" |
| 167 | p.Size = Vector3.new(14.4, 1, 10.4) |
| 168 | p.CFrame = CFrame.new(0, 15.54, 0) |
| 169 | p.BrickColor = BrickColor.new("Bright yellow") |
| 170 | p.Material = Enum.Material.Glacier |
| 171 | p.MaterialVariant = "2022 Big Stud" |
| 172 | p.Anchored = true |
| 173 | p.Parent = model |
| 174 | end |
| 175 | do |
| 176 | local p = Instance.new("Part") |
| 177 | p.Name = "Corner_-7.0_-5.0" |
| 178 | p.Size = Vector3.new(2.2, 10, 2.2) |
| 179 | p.CFrame = CFrame.new(-7, 10.08, -5) |
| 180 | p.BrickColor = BrickColor.new("Institutional white") |
| 181 | p.Material = Enum.Material.Glacier |
| 182 | p.MaterialVariant = "2022 Stud" |
| 183 | p.Anchored = true |
| 184 | p.Parent = model |
| 185 | end |
| 186 | do |
| 187 | local p = Instance.new("Part") |
| 188 | p.Name = "CornerAccTop_-7.0_-5.0" |
| 189 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 190 | p.CFrame = CFrame.new(-7, 15.04, -5) |
| 191 | p.BrickColor = BrickColor.new("Bright yellow") |
| 192 | p.Material = Enum.Material.Glacier |
| 193 | p.MaterialVariant = "2022 Big Stud" |
| 194 | p.Anchored = true |
| 195 | p.Parent = model |
| 196 | end |
| 197 | do |
| 198 | local p = Instance.new("Part") |
| 199 | p.Name = "CornerAccMid_-7.0_-5.0" |
| 200 | p.Size = Vector3.new(2.4, 1.5, 2.4) |
| 201 | p.CFrame = CFrame.new(-7, 10, -5) |
| 202 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 203 | p.Material = Enum.Material.Glacier |
| 204 | p.MaterialVariant = "2022 Inlet" |
| 205 | p.Anchored = true |
| 206 | p.Parent = model |
| 207 | end |
| 208 | do |
| 209 | local p = Instance.new("Part") |
| 210 | p.Name = "CornerAccBot_-7.0_-5.0" |
| 211 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 212 | p.CFrame = CFrame.new(-7, 4.96, -5) |
| 213 | p.BrickColor = BrickColor.new("Bright yellow") |
| 214 | p.Material = Enum.Material.Glacier |
| 215 | p.MaterialVariant = "2022 Big Stud" |
| 216 | p.Anchored = true |
| 217 | p.Parent = model |
| 218 | end |
| 219 | do |
| 220 | local p = Instance.new("Part") |
| 221 | p.Name = "Corner_-7.0_5.0" |
| 222 | p.Size = Vector3.new(2.2, 10, 2.2) |
| 223 | p.CFrame = CFrame.new(-7, 10.08, 5) |
| 224 | p.BrickColor = BrickColor.new("Institutional white") |
| 225 | p.Material = Enum.Material.Glacier |
| 226 | p.MaterialVariant = "2022 Stud" |
| 227 | p.Anchored = true |
| 228 | p.Parent = model |
| 229 | end |
| 230 | do |
| 231 | local p = Instance.new("Part") |
| 232 | p.Name = "CornerAccTop_-7.0_5.0" |
| 233 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 234 | p.CFrame = CFrame.new(-7, 15.04, 5) |
| 235 | p.BrickColor = BrickColor.new("Bright yellow") |
| 236 | p.Material = Enum.Material.Glacier |
| 237 | p.MaterialVariant = "2022 Big Stud" |
| 238 | p.Anchored = true |
| 239 | p.Parent = model |
| 240 | end |
| 241 | do |
| 242 | local p = Instance.new("Part") |
| 243 | p.Name = "CornerAccMid_-7.0_5.0" |
| 244 | p.Size = Vector3.new(2.4, 1.5, 2.4) |
| 245 | p.CFrame = CFrame.new(-7, 10, 5) |
| 246 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 247 | p.Material = Enum.Material.Glacier |
| 248 | p.MaterialVariant = "2022 Inlet" |
| 249 | p.Anchored = true |
| 250 | p.Parent = model |
| 251 | end |
| 252 | do |
| 253 | local p = Instance.new("Part") |
| 254 | p.Name = "CornerAccBot_-7.0_5.0" |
| 255 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 256 | p.CFrame = CFrame.new(-7, 4.96, 5) |
| 257 | p.BrickColor = BrickColor.new("Bright yellow") |
| 258 | p.Material = Enum.Material.Glacier |
| 259 | p.MaterialVariant = "2022 Big Stud" |
| 260 | p.Anchored = true |
| 261 | p.Parent = model |
| 262 | end |
| 263 | do |
| 264 | local p = Instance.new("Part") |
| 265 | p.Name = "Corner_7.0_-5.0" |
| 266 | p.Size = Vector3.new(2.2, 10, 2.2) |
| 267 | p.CFrame = CFrame.new(7, 10.08, -5) |
| 268 | p.BrickColor = BrickColor.new("Institutional white") |
| 269 | p.Material = Enum.Material.Glacier |
| 270 | p.MaterialVariant = "2022 Stud" |
| 271 | p.Anchored = true |
| 272 | p.Parent = model |
| 273 | end |
| 274 | do |
| 275 | local p = Instance.new("Part") |
| 276 | p.Name = "CornerAccTop_7.0_-5.0" |
| 277 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 278 | p.CFrame = CFrame.new(7, 15.04, -5) |
| 279 | p.BrickColor = BrickColor.new("Bright yellow") |
| 280 | p.Material = Enum.Material.Glacier |
| 281 | p.MaterialVariant = "2022 Big Stud" |
| 282 | p.Anchored = true |
| 283 | p.Parent = model |
| 284 | end |
| 285 | do |
| 286 | local p = Instance.new("Part") |
| 287 | p.Name = "CornerAccMid_7.0_-5.0" |
| 288 | p.Size = Vector3.new(2.4, 1.5, 2.4) |
| 289 | p.CFrame = CFrame.new(7, 10, -5) |
| 290 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 291 | p.Material = Enum.Material.Glacier |
| 292 | p.MaterialVariant = "2022 Inlet" |
| 293 | p.Anchored = true |
| 294 | p.Parent = model |
| 295 | end |
| 296 | do |
| 297 | local p = Instance.new("Part") |
| 298 | p.Name = "CornerAccBot_7.0_-5.0" |
| 299 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 300 | p.CFrame = CFrame.new(7, 4.96, -5) |
| 301 | p.BrickColor = BrickColor.new("Bright yellow") |
| 302 | p.Material = Enum.Material.Glacier |
| 303 | p.MaterialVariant = "2022 Big Stud" |
| 304 | p.Anchored = true |
| 305 | p.Parent = model |
| 306 | end |
| 307 | do |
| 308 | local p = Instance.new("Part") |
| 309 | p.Name = "Corner_7.0_5.0" |
| 310 | p.Size = Vector3.new(2.2, 10, 2.2) |
| 311 | p.CFrame = CFrame.new(7, 10.08, 5) |
| 312 | p.BrickColor = BrickColor.new("Institutional white") |
| 313 | p.Material = Enum.Material.Glacier |
| 314 | p.MaterialVariant = "2022 Stud" |
| 315 | p.Anchored = true |
| 316 | p.Parent = model |
| 317 | end |
| 318 | do |
| 319 | local p = Instance.new("Part") |
| 320 | p.Name = "CornerAccTop_7.0_5.0" |
| 321 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 322 | p.CFrame = CFrame.new(7, 15.04, 5) |
| 323 | p.BrickColor = BrickColor.new("Bright yellow") |
| 324 | p.Material = Enum.Material.Glacier |
| 325 | p.MaterialVariant = "2022 Big Stud" |
| 326 | p.Anchored = true |
| 327 | p.Parent = model |
| 328 | end |
| 329 | do |
| 330 | local p = Instance.new("Part") |
| 331 | p.Name = "CornerAccMid_7.0_5.0" |
| 332 | p.Size = Vector3.new(2.4, 1.5, 2.4) |
| 333 | p.CFrame = CFrame.new(7, 10, 5) |
| 334 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 335 | p.Material = Enum.Material.Glacier |
| 336 | p.MaterialVariant = "2022 Inlet" |
| 337 | p.Anchored = true |
| 338 | p.Parent = model |
| 339 | end |
| 340 | do |
| 341 | local p = Instance.new("Part") |
| 342 | p.Name = "CornerAccBot_7.0_5.0" |
| 343 | p.Size = Vector3.new(2.6, 2, 2.6) |
| 344 | p.CFrame = CFrame.new(7, 4.96, 5) |
| 345 | p.BrickColor = BrickColor.new("Bright yellow") |
| 346 | p.Material = Enum.Material.Glacier |
| 347 | p.MaterialVariant = "2022 Big Stud" |
| 348 | p.Anchored = true |
| 349 | p.Parent = model |
| 350 | end |
| 351 | do |
| 352 | local p = Instance.new("Part") |
| 353 | p.Name = "WindowFrame" |
| 354 | p.Size = Vector3.new(10.4, 6.4, 0.4) |
| 355 | p.CFrame = CFrame.new(0, 11, -5.1) |
| 356 | p.BrickColor = BrickColor.new("Bright yellow") |
| 357 | p.Material = Enum.Material.Glacier |
| 358 | p.MaterialVariant = "2022 Big Stud" |
| 359 | p.Anchored = true |
| 360 | p.Parent = model |
| 361 | end |
| 362 | do |
| 363 | local p = Instance.new("Part") |
| 364 | p.Name = "WindowGlass" |
| 365 | p.Size = Vector3.new(10, 6, 0.2) |
| 366 | p.CFrame = CFrame.new(0, 10.92, -4.96) |
| 367 | p.BrickColor = BrickColor.new("Navy blue") |
| 368 | p.Material = Enum.Material.Glacier |
| 369 | p.MaterialVariant = "2022 Stud" |
| 370 | p.Anchored = true |
| 371 | p.Parent = model |
| 372 | end |
| 373 | do |
| 374 | local p = Instance.new("Part") |
| 375 | p.Name = "FrontPanel" |
| 376 | p.Size = Vector3.new(10, 4, 1) |
| 377 | p.CFrame = CFrame.new(0, 5.5, -6) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) |
| 378 | p.BrickColor = BrickColor.new("Institutional white") |
| 379 | p.Material = Enum.Material.Glacier |
| 380 | p.MaterialVariant = "2022 Stud" |
| 381 | p.Anchored = true |
| 382 | p.Parent = model |
| 383 | end |
| 384 | do |
| 385 | local p = Instance.new("Part") |
| 386 | p.Name = "FrontPanelTrim" |
| 387 | p.Size = Vector3.new(10.2, 4.2, 0.2) |
| 388 | p.CFrame = CFrame.new(0, 5.5, -6.1) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) |
| 389 | p.BrickColor = BrickColor.new("Bright yellow") |
| 390 | p.Material = Enum.Material.Glacier |
| 391 | p.MaterialVariant = "2022 Big Stud" |
| 392 | p.Anchored = true |
| 393 | p.Parent = model |
| 394 | end |
| 395 | do |
| 396 | local p = Instance.new("Part") |
| 397 | p.Name = "PanelStarV" |
| 398 | p.Size = Vector3.new(1, 2.5, 0.4) |
| 399 | p.CFrame = CFrame.new(0, 5.52, -6.56536) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) |
| 400 | p.BrickColor = BrickColor.new("Bright yellow") |
| 401 | p.Material = Enum.Material.Glacier |
| 402 | p.MaterialVariant = "2022 Big Stud" |
| 403 | p.Anchored = true |
| 404 | p.Parent = model |
| 405 | end |
| 406 | do |
| 407 | local p = Instance.new("Part") |
| 408 | p.Name = "PanelStarH" |
| 409 | p.Size = Vector3.new(2.5, 1, 0.4) |
| 410 | p.CFrame = CFrame.new(0, 5.5, -6.6) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) |
| 411 | p.BrickColor = BrickColor.new("Bright yellow") |
| 412 | p.Material = Enum.Material.Glacier |
| 413 | p.MaterialVariant = "2022 Big Stud" |
| 414 | p.Anchored = true |
| 415 | p.Parent = model |
| 416 | end |
| 417 | do |
| 418 | local p = Instance.new("Part") |
| 419 | p.Name = "PanelStarGem" |
| 420 | p.Size = Vector3.new(0.8, 0.8, 0.2) |
| 421 | p.CFrame = CFrame.new(0, 5.5, -6.8) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(45)) |
| 422 | p.BrickColor = BrickColor.new("Toothpaste") |
| 423 | p.Material = Enum.Material.Glacier |
| 424 | p.MaterialVariant = "2022 Stud" |
| 425 | p.Anchored = true |
| 426 | p.Parent = model |
| 427 | end |
| 428 | do |
| 429 | local p = Instance.new("Part") |
| 430 | p.Shape = Enum.PartType.Cylinder |
| 431 | p.Name = "ClockBase" |
| 432 | p.Size = Vector3.new(0.4, 4, 4) |
| 433 | p.CFrame = CFrame.new(7.5, 11, 0) |
| 434 | p.BrickColor = BrickColor.new("Bright yellow") |
| 435 | p.Material = Enum.Material.Glacier |
| 436 | p.MaterialVariant = "2022 Big Stud" |
| 437 | p.Anchored = true |
| 438 | p.Parent = model |
| 439 | end |
| 440 | do |
| 441 | local p = Instance.new("Part") |
| 442 | p.Shape = Enum.PartType.Cylinder |
| 443 | p.Name = "ClockFace" |
| 444 | p.Size = Vector3.new(0.2, 3.6, 3.6) |
| 445 | p.CFrame = CFrame.new(7.7, 11, 0) |
| 446 | p.BrickColor = BrickColor.new("Institutional white") |
| 447 | p.Material = Enum.Material.Glacier |
| 448 | p.MaterialVariant = "2022 Stud" |
| 449 | p.Anchored = true |
| 450 | p.Parent = model |
| 451 | end |
| 452 | do |
| 453 | local p = Instance.new("Part") |
| 454 | p.Name = "ClockHand" |
| 455 | p.Size = Vector3.new(0.2, 1.5, 0.2) |
| 456 | p.CFrame = CFrame.new(7.9, 11, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(45)) |
| 457 | p.BrickColor = BrickColor.new("Dark stone grey") |
| 458 | p.Material = Enum.Material.Glacier |
| 459 | p.MaterialVariant = "2022 Stud" |
| 460 | p.Anchored = true |
| 461 | p.Parent = model |
| 462 | end |
| 463 | do |
| 464 | local p = Instance.new("Part") |
| 465 | p.Name = "TopTier1" |
| 466 | p.Size = Vector3.new(8, 1, 6) |
| 467 | p.CFrame = CFrame.new(0, 16.58, 0) |
| 468 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 469 | p.Material = Enum.Material.Glacier |
| 470 | p.MaterialVariant = "2022 Inlet" |
| 471 | p.Anchored = true |
| 472 | p.Parent = model |
| 473 | end |
| 474 | do |
| 475 | local p = Instance.new("Part") |
| 476 | p.Name = "TopTier2" |
| 477 | p.Size = Vector3.new(6, 1, 4) |
| 478 | p.CFrame = CFrame.new(0, 17.62, 0) |
| 479 | p.BrickColor = BrickColor.new("Institutional white") |
| 480 | p.Material = Enum.Material.Glacier |
| 481 | p.MaterialVariant = "2022 Stud" |
| 482 | p.Anchored = true |
| 483 | p.Parent = model |
| 484 | end |
| 485 | do |
| 486 | local p = Instance.new("Part") |
| 487 | p.Name = "TopTier3" |
| 488 | p.Size = Vector3.new(4, 1, 2) |
| 489 | p.CFrame = CFrame.new(0, 18.66, 0) |
| 490 | p.BrickColor = BrickColor.new("Medium stone grey") |
| 491 | p.Material = Enum.Material.Glacier |
| 492 | p.MaterialVariant = "2022 Inlet" |
| 493 | p.Anchored = true |
| 494 | p.Parent = model |
| 495 | end |
| 496 | do |
| 497 | local p = Instance.new("Part") |
| 498 | p.Name = "TopStarV" |
| 499 | p.Size = Vector3.new(0.6, 2, 0.6) |
| 500 | p.CFrame = CFrame.new(0, 20, 0.04) |
| 501 | p.BrickColor = BrickColor.new("Bright yellow") |
| 502 | p.Material = Enum.Material.Glacier |
| 503 | p.MaterialVariant = "2022 Big Stud" |
| 504 | p.Anchored = true |
| 505 | p.Parent = model |
| 506 | end |
| 507 | do |
| 508 | local p = Instance.new("Part") |
| 509 | p.Name = "TopStarH" |
| 510 | p.Size = Vector3.new(2, 0.6, 0.6) |
| 511 | p.CFrame = CFrame.new(0, 20, 0) |
| 512 | p.BrickColor = BrickColor.new("Bright yellow") |
| 513 | p.Material = Enum.Material.Glacier |
| 514 | p.MaterialVariant = "2022 Big Stud" |
| 515 | p.Anchored = true |
| 516 | p.Parent = model |
| 517 | end |
| 518 | do |
| 519 | local rightV = Vector3.new(1,0,0).Unit |
| 520 | local upV = (Vector3.new(0,0,-1) - Vector3.new(0,0,-1):Dot(rightV)*rightV).Unit |
| 521 | local normalV = upV:Cross(rightV) |
| 522 | local pos = Vector3.new(0, 10.5, 0) |
| 523 | local cyl = Instance.new("Part") |
| 524 | cyl.Shape = Enum.PartType.Cylinder |
| 525 | cyl.Size = Vector3.new(0.2, 4.8, 4.8) |
| 526 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 527 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 528 | cyl.Material = Enum.Material.Glacier |
| 529 | cyl.MaterialVariant = "2022 Big Stud" |
| 530 | cyl.Anchored = true; cyl.Parent = workspace |
| 531 | local cuts = {} |
| 532 | local hole = Instance.new("Part") |
| 533 | hole.Shape = Enum.PartType.Cylinder |
| 534 | hole.Size = Vector3.new(0.4, 4.4, 4.4) |
| 535 | hole.CFrame = cyl.CFrame |
| 536 | hole.BrickColor = BrickColor.new("Bright yellow") |
| 537 | hole.Material = Enum.Material.Glacier |
| 538 | hole.MaterialVariant = "2022 Big Stud" |
| 539 | hole.Anchored = true; hole.Parent = workspace |
| 540 | table.insert(cuts, hole) |
| 541 | if #cuts > 0 then |
| 542 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 543 | for _, c in ipairs(cuts) do c:Destroy() end |
| 544 | if ok and result then |
| 545 | cyl:Destroy() |
| 546 | result.Name = "EggRing"; result.Anchored = true; result.Parent = model |
| 547 | else |
| 548 | cyl.Name = "EggRing"; cyl.Parent = model |
| 549 | end |
| 550 | else |
| 551 | cyl.Name = "EggRing"; cyl.Parent = model |
| 552 | end |
| 553 | end |
| 554 | do |
| 555 | local rightV = Vector3.new(0,0,-1).Unit |
| 556 | local upV = (Vector3.new(0,1,0) - Vector3.new(0,1,0):Dot(rightV)*rightV).Unit |
| 557 | local normalV = upV:Cross(rightV) |
| 558 | local pos = Vector3.new(7.84, 11, 0) |
| 559 | local cyl = Instance.new("Part") |
| 560 | cyl.Shape = Enum.PartType.Cylinder |
| 561 | cyl.Size = Vector3.new(0.2, 3.6, 3.6) |
| 562 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 563 | cyl.BrickColor = BrickColor.new("Bright blue") |
| 564 | cyl.Material = Enum.Material.Glacier |
| 565 | cyl.MaterialVariant = "2022 Universal" |
| 566 | cyl.Anchored = true; cyl.Parent = workspace |
| 567 | local cuts = {} |
| 568 | local angBoxes = {} |
| 569 | do |
| 570 | local edgeDir = 1*rightV + 0*upV |
| 571 | local edgePerp = 0*rightV + 1*upV |
| 572 | local cut = Instance.new("Part") |
| 573 | cut.Size = Vector3.new(7.2, 0.4, 7.2) |
| 574 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.6 * edgePerp, edgeDir, normalV) |
| 575 | cut.BrickColor = BrickColor.new("Bright blue") |
| 576 | cut.Material = Enum.Material.Glacier |
| 577 | cut.MaterialVariant = "2022 Universal" |
| 578 | cut.Anchored = true; cut.Parent = workspace |
| 579 | table.insert(angBoxes, cut) |
| 580 | end |
| 581 | do |
| 582 | local edgeDir = 0.5*rightV + 0.866025*upV |
| 583 | local edgePerp = -0.866025*rightV + 0.5*upV |
| 584 | local cut = Instance.new("Part") |
| 585 | cut.Size = Vector3.new(7.2, 0.4, 7.2) |
| 586 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.6 * edgePerp, edgeDir, normalV) |
| 587 | cut.BrickColor = BrickColor.new("Bright blue") |
| 588 | cut.Material = Enum.Material.Glacier |
| 589 | cut.MaterialVariant = "2022 Universal" |
| 590 | cut.Anchored = true; cut.Parent = workspace |
| 591 | table.insert(angBoxes, cut) |
| 592 | end |
| 593 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 594 | if #cuts > 0 then |
| 595 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 596 | for _, c in ipairs(cuts) do c:Destroy() end |
| 597 | if ok and result then |
| 598 | cyl:Destroy() |
| 599 | result.Name = "ClockPie"; result.Anchored = true; result.Parent = model |
| 600 | else |
| 601 | cyl.Name = "ClockPie"; cyl.Parent = model |
| 602 | end |
| 603 | else |
| 604 | cyl.Name = "ClockPie"; cyl.Parent = model |
| 605 | end |
| 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(0, 20, 0) |
| 612 | local cyl = Instance.new("Part") |
| 613 | cyl.Shape = Enum.PartType.Cylinder |
| 614 | cyl.Size = Vector3.new(0.4, 8.4, 8.4) |
| 615 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 616 | cyl.BrickColor = BrickColor.new("Bright yellow") |
| 617 | cyl.Material = Enum.Material.Glacier |
| 618 | cyl.MaterialVariant = "2022 Big 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(0.6, 7.6, 7.6) |
| 624 | hole.CFrame = cyl.CFrame |
| 625 | hole.BrickColor = BrickColor.new("Bright yellow") |
| 626 | hole.Material = Enum.Material.Glacier |
| 627 | hole.MaterialVariant = "2022 Big Stud" |
| 628 | hole.Anchored = true; hole.Parent = workspace |
| 629 | table.insert(cuts, hole) |
| 630 | if #cuts > 0 then |
| 631 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 632 | for _, c in ipairs(cuts) do c:Destroy() end |
| 633 | if ok and result then |
| 634 | cyl:Destroy() |
| 635 | result.Name = "TopRing"; result.Anchored = true; result.Parent = model |
| 636 | else |
| 637 | cyl.Name = "TopRing"; cyl.Parent = model |
| 638 | end |
| 639 | else |
| 640 | cyl.Name = "TopRing"; cyl.Parent = model |
| 641 | end |
| 642 | end |
| 643 | do |
| 644 | local upV = Vector3.new(0,1,0).Unit |
| 645 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 646 | local forwardV = rightV:Cross(upV) |
| 647 | local pos = Vector3.new(0, 10.54, 0) |
| 648 | local ball = Instance.new("Part") |
| 649 | ball.Shape = Enum.PartType.Ball |
| 650 | ball.Size = Vector3.new(4, 4, 4) |
| 651 | ball.CFrame = CFrame.new(pos) |
| 652 | ball.BrickColor = BrickColor.new("Institutional white") |
| 653 | ball.Material = Enum.Material.Glacier |
| 654 | ball.MaterialVariant = "2022 Stud" |
| 655 | ball.Anchored = true; ball.Parent = workspace |
| 656 | local cuts = {} |
| 657 | do |
| 658 | local h = 0 |
| 659 | local cut = Instance.new("Part") |
| 660 | cut.Size = Vector3.new(8, 8, 8) |
| 661 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-4), rightV, upV) |
| 662 | cut.BrickColor = BrickColor.new("Institutional white") |
| 663 | cut.Material = Enum.Material.Glacier |
| 664 | cut.MaterialVariant = "2022 Stud" |
| 665 | cut.Anchored = true; cut.Parent = workspace |
| 666 | table.insert(cuts, cut) |
| 667 | end |
| 668 | if #cuts > 0 then |
| 669 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 670 | for _, c in ipairs(cuts) do c:Destroy() end |
| 671 | if ok and result then |
| 672 | ball:Destroy() |
| 673 | result.Name = "EggTop"; result.Anchored = true; result.Parent = model |
| 674 | else |
| 675 | ball.Name = "EggTop"; ball.Parent = model |
| 676 | end |
| 677 | else |
| 678 | ball.Name = "EggTop"; ball.Parent = model |
| 679 | end |
| 680 | end |
| 681 | do |
| 682 | local upV = Vector3.new(0,-1,0).Unit |
| 683 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 684 | local forwardV = rightV:Cross(upV) |
| 685 | local pos = Vector3.new(0, 10.5, 0) |
| 686 | local ball = Instance.new("Part") |
| 687 | ball.Shape = Enum.PartType.Ball |
| 688 | ball.Size = Vector3.new(4, 4, 4) |
| 689 | ball.CFrame = CFrame.new(pos) |
| 690 | ball.BrickColor = BrickColor.new("Institutional white") |
| 691 | ball.Material = Enum.Material.Glacier |
| 692 | ball.MaterialVariant = "2022 Stud" |
| 693 | ball.Anchored = true; ball.Parent = workspace |
| 694 | local cuts = {} |
| 695 | do |
| 696 | local h = 0 |
| 697 | local cut = Instance.new("Part") |
| 698 | cut.Size = Vector3.new(8, 8, 8) |
| 699 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-4), rightV, upV) |
| 700 | cut.BrickColor = BrickColor.new("Institutional white") |
| 701 | cut.Material = Enum.Material.Glacier |
| 702 | cut.MaterialVariant = "2022 Stud" |
| 703 | cut.Anchored = true; cut.Parent = workspace |
| 704 | table.insert(cuts, cut) |
| 705 | end |
| 706 | if #cuts > 0 then |
| 707 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 708 | for _, c in ipairs(cuts) do c:Destroy() end |
| 709 | if ok and result then |
| 710 | ball:Destroy() |
| 711 | result.Name = "EggBot"; result.Anchored = true; result.Parent = model |
| 712 | else |
| 713 | ball.Name = "EggBot"; ball.Parent = model |
| 714 | end |
| 715 | else |
| 716 | ball.Name = "EggBot"; ball.Parent = model |
| 717 | end |
| 718 | end |
| 719 | model.PrimaryPart = model:FindFirstChild("BodyMain") |
| 720 | print("IncubatorMachine built: " .. #model:GetChildren() .. " parts") |
Loading comments...