Loading model...
by Prime AirGhost · 9/30/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: AmbrosiaGoblet |
| 3 | |
| 4 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 5 | -- Model: AmbrosiaGoblet |
| 6 | |
| 7 | local MS = game:GetService("MaterialService") |
| 8 | |
| 9 | local ok, roots = pcall(game.GetObjects, game, "rbxassetid://13386676607") |
| 10 | if not ok then return warn(roots) end |
| 11 | |
| 12 | local tmp = Instance.new("Folder") |
| 13 | for _, r in ipairs(roots) do r.Parent = tmp end |
| 14 | |
| 15 | for _, d in ipairs(tmp:GetDescendants()) do |
| 16 | if d:IsA("MaterialVariant") then |
| 17 | d.Parent = MS |
| 18 | end |
| 19 | end |
| 20 | tmp:Destroy() |
| 21 | |
| 22 | local model = Instance.new("Model") |
| 23 | model.Name = "AmbrosiaGoblet" |
| 24 | model.Parent = workspace |
| 25 | |
| 26 | local variants = { |
| 27 | ["Gold"] = "2022 Stud", |
| 28 | ["Institutional white"] = "2022 Stud", |
| 29 | } |
| 30 | do |
| 31 | local p = Instance.new("Part") |
| 32 | p.Shape = Enum.PartType.Cylinder |
| 33 | p.Name = "BaseBottomGold" |
| 34 | p.Size = Vector3.new(0.4, 6.4, 6.4) |
| 35 | p.CFrame = CFrame.new(0, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 36 | p.BrickColor = BrickColor.new("Gold") |
| 37 | p.Material = Enum.Material.Glacier |
| 38 | p.MaterialVariant = "2022 Stud" |
| 39 | p.Anchored = true |
| 40 | p.Parent = model |
| 41 | end |
| 42 | do |
| 43 | local p = Instance.new("Part") |
| 44 | p.Shape = Enum.PartType.Cylinder |
| 45 | p.Name = "BaseMarble1" |
| 46 | p.Size = Vector3.new(0.4, 6, 6) |
| 47 | p.CFrame = CFrame.new(0, 0.64, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 48 | p.BrickColor = BrickColor.new("Institutional white") |
| 49 | p.Material = Enum.Material.Glacier |
| 50 | p.MaterialVariant = "2022 Stud" |
| 51 | p.Anchored = true |
| 52 | p.Parent = model |
| 53 | end |
| 54 | do |
| 55 | local p = Instance.new("Part") |
| 56 | p.Shape = Enum.PartType.Cylinder |
| 57 | p.Name = "BaseMarble2" |
| 58 | p.Size = Vector3.new(0.4, 5.4, 5.4) |
| 59 | p.CFrame = CFrame.new(0, 1.08, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 60 | p.BrickColor = BrickColor.new("Institutional white") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Stud" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Shape = Enum.PartType.Cylinder |
| 69 | p.Name = "BaseMarble3" |
| 70 | p.Size = Vector3.new(0.4, 4.6, 4.6) |
| 71 | p.CFrame = CFrame.new(0, 1.52, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 72 | p.BrickColor = BrickColor.new("Institutional white") |
| 73 | p.Material = Enum.Material.Glacier |
| 74 | p.MaterialVariant = "2022 Stud" |
| 75 | p.Anchored = true |
| 76 | p.Parent = model |
| 77 | end |
| 78 | do |
| 79 | local p = Instance.new("Part") |
| 80 | p.Shape = Enum.PartType.Cylinder |
| 81 | p.Name = "BaseMarble4" |
| 82 | p.Size = Vector3.new(0.4, 3.8, 3.8) |
| 83 | p.CFrame = CFrame.new(0, 1.96, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 84 | p.BrickColor = BrickColor.new("Institutional white") |
| 85 | p.Material = Enum.Material.Glacier |
| 86 | p.MaterialVariant = "2022 Stud" |
| 87 | p.Anchored = true |
| 88 | p.Parent = model |
| 89 | end |
| 90 | do |
| 91 | local p = Instance.new("Part") |
| 92 | p.Shape = Enum.PartType.Cylinder |
| 93 | p.Name = "BaseMarble5" |
| 94 | p.Size = Vector3.new(0.4, 3, 3) |
| 95 | p.CFrame = CFrame.new(0, 2.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 96 | p.BrickColor = BrickColor.new("Institutional white") |
| 97 | p.Material = Enum.Material.Glacier |
| 98 | p.MaterialVariant = "2022 Stud" |
| 99 | p.Anchored = true |
| 100 | p.Parent = model |
| 101 | end |
| 102 | do |
| 103 | local p = Instance.new("Part") |
| 104 | p.Shape = Enum.PartType.Cylinder |
| 105 | p.Name = "BaseMarble6" |
| 106 | p.Size = Vector3.new(0.4, 2.4, 2.4) |
| 107 | p.CFrame = CFrame.new(0, 2.52, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 108 | p.BrickColor = BrickColor.new("Institutional white") |
| 109 | p.Material = Enum.Material.Glacier |
| 110 | p.MaterialVariant = "2022 Stud" |
| 111 | p.Anchored = true |
| 112 | p.Parent = model |
| 113 | end |
| 114 | do |
| 115 | local p = Instance.new("Part") |
| 116 | p.Shape = Enum.PartType.Cylinder |
| 117 | p.Name = "StemGoldRing1" |
| 118 | p.Size = Vector3.new(0.4, 2.6, 2.6) |
| 119 | p.CFrame = CFrame.new(0, 2.96, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 120 | p.BrickColor = BrickColor.new("Gold") |
| 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 = "StemMarble1" |
| 130 | p.Size = Vector3.new(0.8, 2.2, 2.2) |
| 131 | p.CFrame = CFrame.new(0, 3.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 132 | p.BrickColor = BrickColor.new("Institutional 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 = "StemGoldRing2" |
| 142 | p.Size = Vector3.new(0.4, 2.8, 2.8) |
| 143 | p.CFrame = CFrame.new(0, 4.24, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 144 | p.BrickColor = BrickColor.new("Gold") |
| 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 = "StemMarble2" |
| 154 | p.Size = Vector3.new(0.8, 2.2, 2.2) |
| 155 | p.CFrame = CFrame.new(0, 4.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 156 | p.BrickColor = BrickColor.new("Institutional white") |
| 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.Shape = Enum.PartType.Cylinder |
| 165 | p.Name = "StemGoldRing3" |
| 166 | p.Size = Vector3.new(0.4, 2.6, 2.6) |
| 167 | p.CFrame = CFrame.new(0, 5.44, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 168 | p.BrickColor = BrickColor.new("Gold") |
| 169 | p.Material = Enum.Material.Glacier |
| 170 | p.MaterialVariant = "2022 Stud" |
| 171 | p.Anchored = true |
| 172 | p.Parent = model |
| 173 | end |
| 174 | do |
| 175 | local p = Instance.new("Part") |
| 176 | p.Shape = Enum.PartType.Cylinder |
| 177 | p.Name = "BowlBaseGold1" |
| 178 | p.Size = Vector3.new(0.4, 3.4, 3.4) |
| 179 | p.CFrame = CFrame.new(0, 5.76, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 180 | p.BrickColor = BrickColor.new("Gold") |
| 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.Shape = Enum.PartType.Cylinder |
| 189 | p.Name = "BowlBaseGold2" |
| 190 | p.Size = Vector3.new(0.4, 4.4, 4.4) |
| 191 | p.CFrame = CFrame.new(0, 6.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 192 | p.BrickColor = BrickColor.new("Gold") |
| 193 | p.Material = Enum.Material.Glacier |
| 194 | p.MaterialVariant = "2022 Stud" |
| 195 | p.Anchored = true |
| 196 | p.Parent = model |
| 197 | end |
| 198 | do |
| 199 | local p = Instance.new("Part") |
| 200 | p.Shape = Enum.PartType.Cylinder |
| 201 | p.Name = "RimGold1" |
| 202 | p.Size = Vector3.new(0.4, 9.2, 9.2) |
| 203 | p.CFrame = CFrame.new(0, 9.16, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 204 | p.BrickColor = BrickColor.new("Gold") |
| 205 | p.Material = Enum.Material.Glacier |
| 206 | p.MaterialVariant = "2022 Stud" |
| 207 | p.Anchored = true |
| 208 | p.Parent = model |
| 209 | end |
| 210 | do |
| 211 | local p = Instance.new("Part") |
| 212 | p.Shape = Enum.PartType.Cylinder |
| 213 | p.Name = "RimGold2" |
| 214 | p.Size = Vector3.new(0.4, 9.4, 9.4) |
| 215 | p.CFrame = CFrame.new(0, 9.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 216 | p.BrickColor = BrickColor.new("Gold") |
| 217 | p.Material = Enum.Material.Glacier |
| 218 | p.MaterialVariant = "2022 Stud" |
| 219 | p.Anchored = true |
| 220 | p.Parent = model |
| 221 | end |
| 222 | do |
| 223 | local p = Instance.new("Part") |
| 224 | p.Shape = Enum.PartType.Cylinder |
| 225 | p.Name = "RimGold3" |
| 226 | p.Size = Vector3.new(0.4, 9.2, 9.2) |
| 227 | p.CFrame = CFrame.new(0, 10.04, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 228 | p.BrickColor = BrickColor.new("Gold") |
| 229 | p.Material = Enum.Material.Glacier |
| 230 | p.MaterialVariant = "2022 Stud" |
| 231 | p.Anchored = true |
| 232 | p.Parent = model |
| 233 | end |
| 234 | do |
| 235 | local p = Instance.new("Part") |
| 236 | p.Shape = Enum.PartType.Cylinder |
| 237 | p.Name = "LiquidSurface" |
| 238 | p.Size = Vector3.new(0.2, 8.8, 8.8) |
| 239 | p.CFrame = CFrame.new(0, 9.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 240 | p.BrickColor = BrickColor.new("Deep orange") |
| 241 | p.Material = Enum.Material.Neon |
| 242 | p.Anchored = true |
| 243 | p.Parent = model |
| 244 | end |
| 245 | do |
| 246 | local p = Instance.new("Part") |
| 247 | p.Name = "HandleLeftConnector" |
| 248 | p.Size = Vector3.new(0.8, 2, 0.8) |
| 249 | p.CFrame = CFrame.new(-6.5, 7, 0.08) |
| 250 | p.BrickColor = BrickColor.new("Gold") |
| 251 | p.Material = Enum.Material.Glacier |
| 252 | p.MaterialVariant = "2022 Stud" |
| 253 | p.Anchored = true |
| 254 | p.Parent = model |
| 255 | end |
| 256 | do |
| 257 | local p = Instance.new("Part") |
| 258 | p.Name = "HandleRightConnector" |
| 259 | p.Size = Vector3.new(0.8, 2, 0.8) |
| 260 | p.CFrame = CFrame.new(6.5, 7, 0.08) |
| 261 | p.BrickColor = BrickColor.new("Gold") |
| 262 | p.Material = Enum.Material.Glacier |
| 263 | p.MaterialVariant = "2022 Stud" |
| 264 | p.Anchored = true |
| 265 | p.Parent = model |
| 266 | end |
| 267 | do |
| 268 | local rightV = Vector3.new(0,1,0).Unit |
| 269 | local upV = (Vector3.new(-1,0,0) - Vector3.new(-1,0,0):Dot(rightV)*rightV).Unit |
| 270 | local normalV = upV:Cross(rightV) |
| 271 | local pos = Vector3.new(-5.5, 8, 0) |
| 272 | local cyl = Instance.new("Part") |
| 273 | cyl.Shape = Enum.PartType.Cylinder |
| 274 | cyl.Size = Vector3.new(0.8, 5, 5) |
| 275 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 276 | cyl.BrickColor = BrickColor.new("Gold") |
| 277 | cyl.Material = Enum.Material.Glacier |
| 278 | cyl.MaterialVariant = "2022 Stud" |
| 279 | cyl.Anchored = true; cyl.Parent = workspace |
| 280 | local cuts = {} |
| 281 | local hole = Instance.new("Part") |
| 282 | hole.Shape = Enum.PartType.Cylinder |
| 283 | hole.Size = Vector3.new(1, 3, 3) |
| 284 | hole.CFrame = cyl.CFrame |
| 285 | hole.BrickColor = BrickColor.new("Gold") |
| 286 | hole.Material = Enum.Material.Glacier |
| 287 | hole.MaterialVariant = "2022 Stud" |
| 288 | hole.Anchored = true; hole.Parent = workspace |
| 289 | table.insert(cuts, hole) |
| 290 | local angBoxes = {} |
| 291 | do |
| 292 | local edgeDir = 1*rightV + 0*upV |
| 293 | local edgePerp = 0*rightV + 1*upV |
| 294 | local cut = Instance.new("Part") |
| 295 | cut.Size = Vector3.new(10, 1, 10) |
| 296 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5 * edgePerp, edgeDir, normalV) |
| 297 | cut.BrickColor = BrickColor.new("Gold") |
| 298 | cut.Material = Enum.Material.Glacier |
| 299 | cut.MaterialVariant = "2022 Stud" |
| 300 | cut.Anchored = true; cut.Parent = workspace |
| 301 | table.insert(angBoxes, cut) |
| 302 | end |
| 303 | do |
| 304 | local edgeDir = -1*rightV + 0*upV |
| 305 | local edgePerp = 0*rightV + -1*upV |
| 306 | local cut = Instance.new("Part") |
| 307 | cut.Size = Vector3.new(10, 1, 10) |
| 308 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5 * edgePerp, edgeDir, normalV) |
| 309 | cut.BrickColor = BrickColor.new("Gold") |
| 310 | cut.Material = Enum.Material.Glacier |
| 311 | cut.MaterialVariant = "2022 Stud" |
| 312 | cut.Anchored = true; cut.Parent = workspace |
| 313 | table.insert(angBoxes, cut) |
| 314 | end |
| 315 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 316 | if #cuts > 0 then |
| 317 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 318 | for _, c in ipairs(cuts) do c:Destroy() end |
| 319 | if ok and result then |
| 320 | cyl:Destroy() |
| 321 | result.Name = "HandleLeftTop"; result.Anchored = true; result.Parent = model |
| 322 | else |
| 323 | cyl.Name = "HandleLeftTop"; cyl.Parent = model |
| 324 | end |
| 325 | else |
| 326 | cyl.Name = "HandleLeftTop"; cyl.Parent = model |
| 327 | end |
| 328 | end |
| 329 | do |
| 330 | local rightV = Vector3.new(0,-1,0).Unit |
| 331 | local upV = (Vector3.new(-1,0,0) - Vector3.new(-1,0,0):Dot(rightV)*rightV).Unit |
| 332 | local normalV = upV:Cross(rightV) |
| 333 | local pos = Vector3.new(-4.5, 6, 0.04) |
| 334 | local cyl = Instance.new("Part") |
| 335 | cyl.Shape = Enum.PartType.Cylinder |
| 336 | cyl.Size = Vector3.new(0.8, 3.6, 3.6) |
| 337 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 338 | cyl.BrickColor = BrickColor.new("Gold") |
| 339 | cyl.Material = Enum.Material.Glacier |
| 340 | cyl.MaterialVariant = "2022 Stud" |
| 341 | cyl.Anchored = true; cyl.Parent = workspace |
| 342 | local cuts = {} |
| 343 | local hole = Instance.new("Part") |
| 344 | hole.Shape = Enum.PartType.Cylinder |
| 345 | hole.Size = Vector3.new(1, 2, 2) |
| 346 | hole.CFrame = cyl.CFrame |
| 347 | hole.BrickColor = BrickColor.new("Gold") |
| 348 | hole.Material = Enum.Material.Glacier |
| 349 | hole.MaterialVariant = "2022 Stud" |
| 350 | hole.Anchored = true; hole.Parent = workspace |
| 351 | table.insert(cuts, hole) |
| 352 | local angBoxes = {} |
| 353 | do |
| 354 | local edgeDir = 1*rightV + 0*upV |
| 355 | local edgePerp = 0*rightV + 1*upV |
| 356 | local cut = Instance.new("Part") |
| 357 | cut.Size = Vector3.new(7.2, 1, 7.2) |
| 358 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.6 * edgePerp, edgeDir, normalV) |
| 359 | cut.BrickColor = BrickColor.new("Gold") |
| 360 | cut.Material = Enum.Material.Glacier |
| 361 | cut.MaterialVariant = "2022 Stud" |
| 362 | cut.Anchored = true; cut.Parent = workspace |
| 363 | table.insert(angBoxes, cut) |
| 364 | end |
| 365 | do |
| 366 | local edgeDir = -0.5*rightV + 0.866025*upV |
| 367 | local edgePerp = -0.866025*rightV + -0.5*upV |
| 368 | local cut = Instance.new("Part") |
| 369 | cut.Size = Vector3.new(7.2, 1, 7.2) |
| 370 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.6 * edgePerp, edgeDir, normalV) |
| 371 | cut.BrickColor = BrickColor.new("Gold") |
| 372 | cut.Material = Enum.Material.Glacier |
| 373 | cut.MaterialVariant = "2022 Stud" |
| 374 | cut.Anchored = true; cut.Parent = workspace |
| 375 | table.insert(angBoxes, cut) |
| 376 | end |
| 377 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 378 | if #cuts > 0 then |
| 379 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 380 | for _, c in ipairs(cuts) do c:Destroy() end |
| 381 | if ok and result then |
| 382 | cyl:Destroy() |
| 383 | result.Name = "HandleLeftBottom"; result.Anchored = true; result.Parent = model |
| 384 | else |
| 385 | cyl.Name = "HandleLeftBottom"; cyl.Parent = model |
| 386 | end |
| 387 | else |
| 388 | cyl.Name = "HandleLeftBottom"; cyl.Parent = model |
| 389 | end |
| 390 | end |
| 391 | do |
| 392 | local rightV = Vector3.new(0,1,0).Unit |
| 393 | local upV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(rightV)*rightV).Unit |
| 394 | local normalV = upV:Cross(rightV) |
| 395 | local pos = Vector3.new(5.5, 8, 0) |
| 396 | local cyl = Instance.new("Part") |
| 397 | cyl.Shape = Enum.PartType.Cylinder |
| 398 | cyl.Size = Vector3.new(0.8, 5, 5) |
| 399 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 400 | cyl.BrickColor = BrickColor.new("Gold") |
| 401 | cyl.Material = Enum.Material.Glacier |
| 402 | cyl.MaterialVariant = "2022 Stud" |
| 403 | cyl.Anchored = true; cyl.Parent = workspace |
| 404 | local cuts = {} |
| 405 | local hole = Instance.new("Part") |
| 406 | hole.Shape = Enum.PartType.Cylinder |
| 407 | hole.Size = Vector3.new(1, 3, 3) |
| 408 | hole.CFrame = cyl.CFrame |
| 409 | hole.BrickColor = BrickColor.new("Gold") |
| 410 | hole.Material = Enum.Material.Glacier |
| 411 | hole.MaterialVariant = "2022 Stud" |
| 412 | hole.Anchored = true; hole.Parent = workspace |
| 413 | table.insert(cuts, hole) |
| 414 | local angBoxes = {} |
| 415 | do |
| 416 | local edgeDir = 1*rightV + 0*upV |
| 417 | local edgePerp = 0*rightV + 1*upV |
| 418 | local cut = Instance.new("Part") |
| 419 | cut.Size = Vector3.new(10, 1, 10) |
| 420 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 5 * edgePerp, edgeDir, normalV) |
| 421 | cut.BrickColor = BrickColor.new("Gold") |
| 422 | cut.Material = Enum.Material.Glacier |
| 423 | cut.MaterialVariant = "2022 Stud" |
| 424 | cut.Anchored = true; cut.Parent = workspace |
| 425 | table.insert(angBoxes, cut) |
| 426 | end |
| 427 | do |
| 428 | local edgeDir = -1*rightV + 0*upV |
| 429 | local edgePerp = 0*rightV + -1*upV |
| 430 | local cut = Instance.new("Part") |
| 431 | cut.Size = Vector3.new(10, 1, 10) |
| 432 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 5 * edgePerp, edgeDir, normalV) |
| 433 | cut.BrickColor = BrickColor.new("Gold") |
| 434 | cut.Material = Enum.Material.Glacier |
| 435 | cut.MaterialVariant = "2022 Stud" |
| 436 | cut.Anchored = true; cut.Parent = workspace |
| 437 | table.insert(angBoxes, cut) |
| 438 | end |
| 439 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 440 | if #cuts > 0 then |
| 441 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 442 | for _, c in ipairs(cuts) do c:Destroy() end |
| 443 | if ok and result then |
| 444 | cyl:Destroy() |
| 445 | result.Name = "HandleRightTop"; result.Anchored = true; result.Parent = model |
| 446 | else |
| 447 | cyl.Name = "HandleRightTop"; cyl.Parent = model |
| 448 | end |
| 449 | else |
| 450 | cyl.Name = "HandleRightTop"; cyl.Parent = model |
| 451 | end |
| 452 | end |
| 453 | do |
| 454 | local rightV = Vector3.new(0,-1,0).Unit |
| 455 | local upV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(rightV)*rightV).Unit |
| 456 | local normalV = upV:Cross(rightV) |
| 457 | local pos = Vector3.new(4.5, 6, 0.04) |
| 458 | local cyl = Instance.new("Part") |
| 459 | cyl.Shape = Enum.PartType.Cylinder |
| 460 | cyl.Size = Vector3.new(0.8, 3.6, 3.6) |
| 461 | cyl.CFrame = CFrame.fromMatrix(pos, normalV, rightV) |
| 462 | cyl.BrickColor = BrickColor.new("Gold") |
| 463 | cyl.Material = Enum.Material.Glacier |
| 464 | cyl.MaterialVariant = "2022 Stud" |
| 465 | cyl.Anchored = true; cyl.Parent = workspace |
| 466 | local cuts = {} |
| 467 | local hole = Instance.new("Part") |
| 468 | hole.Shape = Enum.PartType.Cylinder |
| 469 | hole.Size = Vector3.new(1, 2, 2) |
| 470 | hole.CFrame = cyl.CFrame |
| 471 | hole.BrickColor = BrickColor.new("Gold") |
| 472 | hole.Material = Enum.Material.Glacier |
| 473 | hole.MaterialVariant = "2022 Stud" |
| 474 | hole.Anchored = true; hole.Parent = workspace |
| 475 | table.insert(cuts, hole) |
| 476 | local angBoxes = {} |
| 477 | do |
| 478 | local edgeDir = 1*rightV + 0*upV |
| 479 | local edgePerp = 0*rightV + 1*upV |
| 480 | local cut = Instance.new("Part") |
| 481 | cut.Size = Vector3.new(7.2, 1, 7.2) |
| 482 | cut.CFrame = CFrame.fromMatrix(pos + -1 * 3.6 * edgePerp, edgeDir, normalV) |
| 483 | cut.BrickColor = BrickColor.new("Gold") |
| 484 | cut.Material = Enum.Material.Glacier |
| 485 | cut.MaterialVariant = "2022 Stud" |
| 486 | cut.Anchored = true; cut.Parent = workspace |
| 487 | table.insert(angBoxes, cut) |
| 488 | end |
| 489 | do |
| 490 | local edgeDir = -0.5*rightV + 0.866025*upV |
| 491 | local edgePerp = -0.866025*rightV + -0.5*upV |
| 492 | local cut = Instance.new("Part") |
| 493 | cut.Size = Vector3.new(7.2, 1, 7.2) |
| 494 | cut.CFrame = CFrame.fromMatrix(pos + 1 * 3.6 * edgePerp, edgeDir, normalV) |
| 495 | cut.BrickColor = BrickColor.new("Gold") |
| 496 | cut.Material = Enum.Material.Glacier |
| 497 | cut.MaterialVariant = "2022 Stud" |
| 498 | cut.Anchored = true; cut.Parent = workspace |
| 499 | table.insert(angBoxes, cut) |
| 500 | end |
| 501 | for _, b in ipairs(angBoxes) do table.insert(cuts, b) end |
| 502 | if #cuts > 0 then |
| 503 | local ok, result = pcall(function() return cyl:SubtractAsync(cuts) end) |
| 504 | for _, c in ipairs(cuts) do c:Destroy() end |
| 505 | if ok and result then |
| 506 | cyl:Destroy() |
| 507 | result.Name = "HandleRightBottom"; result.Anchored = true; result.Parent = model |
| 508 | else |
| 509 | cyl.Name = "HandleRightBottom"; cyl.Parent = model |
| 510 | end |
| 511 | else |
| 512 | cyl.Name = "HandleRightBottom"; cyl.Parent = model |
| 513 | end |
| 514 | end |
| 515 | do |
| 516 | local upV = Vector3.new(0,1,0).Unit |
| 517 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 518 | local forwardV = rightV:Cross(upV) |
| 519 | local pos = Vector3.new(0, 9, 0) |
| 520 | local ball = Instance.new("Part") |
| 521 | ball.Shape = Enum.PartType.Ball |
| 522 | ball.Size = Vector3.new(9, 9, 9) |
| 523 | ball.CFrame = CFrame.new(pos) |
| 524 | ball.BrickColor = BrickColor.new("Institutional white") |
| 525 | ball.Material = Enum.Material.Glacier |
| 526 | ball.MaterialVariant = "2022 Stud" |
| 527 | ball.Anchored = true; ball.Parent = workspace |
| 528 | local cuts = {} |
| 529 | do |
| 530 | local h = 0 |
| 531 | local cut = Instance.new("Part") |
| 532 | cut.Size = Vector3.new(18, 18, 18) |
| 533 | cut.CFrame = CFrame.fromMatrix(pos + upV*(9), rightV, upV) |
| 534 | cut.BrickColor = BrickColor.new("Institutional white") |
| 535 | cut.Material = Enum.Material.Glacier |
| 536 | cut.MaterialVariant = "2022 Stud" |
| 537 | cut.Anchored = true; cut.Parent = workspace |
| 538 | table.insert(cuts, cut) |
| 539 | end |
| 540 | if #cuts > 0 then |
| 541 | local ok, result = pcall(function() return ball:SubtractAsync(cuts) end) |
| 542 | for _, c in ipairs(cuts) do c:Destroy() end |
| 543 | if ok and result then |
| 544 | ball:Destroy() |
| 545 | result.Name = "BowlMarble"; result.Anchored = true; result.Parent = model |
| 546 | else |
| 547 | ball.Name = "BowlMarble"; ball.Parent = model |
| 548 | end |
| 549 | else |
| 550 | ball.Name = "BowlMarble"; ball.Parent = model |
| 551 | end |
| 552 | end |
| 553 | model.PrimaryPart = model:FindFirstChild("BaseBottomGold") |
| 554 | print("AmbrosiaGoblet built: " .. #model:GetChildren() .. " parts") |
Loading comments...