Loading model...
by Account Non Specificato · 5/6/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: Cheeseburger |
| 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 = "Cheeseburger" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Glue", |
| 25 | ["Bright yellow"] = "2022 Glue", |
| 26 | ["Camo"] = "2022 Inlet", |
| 27 | ["New Yeller"] = "2022 Glue", |
| 28 | ["Nougat"] = "2022 Glue", |
| 29 | ["Pine Cone"] = "2022 Weld", |
| 30 | } |
| 31 | do |
| 32 | local p = Instance.new("Part") |
| 33 | p.Shape = Enum.PartType.Cylinder |
| 34 | p.Name = "BottomBun" |
| 35 | p.Size = Vector3.new(2, 9, 9) |
| 36 | p.CFrame = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 37 | p.BrickColor = BrickColor.new("Nougat") |
| 38 | p.Material = Enum.Material.Glacier |
| 39 | p.MaterialVariant = "2022 Glue" |
| 40 | p.Anchored = true |
| 41 | p.Parent = model |
| 42 | end |
| 43 | do |
| 44 | local p = Instance.new("Part") |
| 45 | p.Shape = Enum.PartType.Cylinder |
| 46 | p.Name = "Patty" |
| 47 | p.Size = Vector3.new(1, 9.5, 9.5) |
| 48 | p.CFrame = CFrame.new(0, 2.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 49 | p.BrickColor = BrickColor.new("Pine Cone") |
| 50 | p.Material = Enum.Material.Glacier |
| 51 | p.MaterialVariant = "2022 Weld" |
| 52 | p.Anchored = true |
| 53 | p.Parent = model |
| 54 | end |
| 55 | do |
| 56 | local p = Instance.new("Part") |
| 57 | p.Name = "CheeseMain" |
| 58 | p.Size = Vector3.new(8.5, 0.2, 8.5) |
| 59 | p.CFrame = CFrame.new(0, 3.14, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 60 | p.BrickColor = BrickColor.new("Bright yellow") |
| 61 | p.Material = Enum.Material.Glacier |
| 62 | p.MaterialVariant = "2022 Glue" |
| 63 | p.Anchored = true |
| 64 | p.Parent = model |
| 65 | end |
| 66 | do |
| 67 | local p = Instance.new("Part") |
| 68 | p.Name = "CheeseDroop1" |
| 69 | p.Size = Vector3.new(1.5, 0.2, 1.5) |
| 70 | p.CFrame = CFrame.new(4.5, 2.6, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(-45)) |
| 71 | p.BrickColor = BrickColor.new("Bright yellow") |
| 72 | p.Material = Enum.Material.Glacier |
| 73 | p.MaterialVariant = "2022 Glue" |
| 74 | p.Anchored = true |
| 75 | p.Parent = model |
| 76 | end |
| 77 | do |
| 78 | local p = Instance.new("Part") |
| 79 | p.Name = "CheeseDroop2" |
| 80 | p.Size = Vector3.new(1.5, 0.2, 1.5) |
| 81 | p.CFrame = CFrame.new(-4.5, 2.6, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(45)) |
| 82 | p.BrickColor = BrickColor.new("Bright yellow") |
| 83 | p.Material = Enum.Material.Glacier |
| 84 | p.MaterialVariant = "2022 Glue" |
| 85 | p.Anchored = true |
| 86 | p.Parent = model |
| 87 | end |
| 88 | do |
| 89 | local p = Instance.new("Part") |
| 90 | p.Name = "CheeseDroop3" |
| 91 | p.Size = Vector3.new(1.5, 0.2, 1.5) |
| 92 | p.CFrame = CFrame.new(0, 2.6, 4.5) * CFrame.Angles(math.rad(45), math.rad(45), math.rad(0)) |
| 93 | p.BrickColor = BrickColor.new("Bright yellow") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Glue" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Name = "CheeseDroop4" |
| 102 | p.Size = Vector3.new(1.5, 0.2, 1.5) |
| 103 | p.CFrame = CFrame.new(0, 2.6, -4.5) * CFrame.Angles(math.rad(-45), math.rad(45), math.rad(0)) |
| 104 | p.BrickColor = BrickColor.new("Bright yellow") |
| 105 | p.Material = Enum.Material.Glacier |
| 106 | p.MaterialVariant = "2022 Glue" |
| 107 | p.Anchored = true |
| 108 | p.Parent = model |
| 109 | end |
| 110 | do |
| 111 | local p = Instance.new("Part") |
| 112 | p.Shape = Enum.PartType.Cylinder |
| 113 | p.Name = "Pickle1" |
| 114 | p.Size = Vector3.new(0.2, 2.5, 2.5) |
| 115 | p.CFrame = CFrame.new(3.5, 3.42, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 116 | p.BrickColor = BrickColor.new("Camo") |
| 117 | p.Material = Enum.Material.Glacier |
| 118 | p.MaterialVariant = "2022 Inlet" |
| 119 | p.Anchored = true |
| 120 | p.Parent = model |
| 121 | end |
| 122 | do |
| 123 | local p = Instance.new("Part") |
| 124 | p.Shape = Enum.PartType.Cylinder |
| 125 | p.Name = "Pickle2" |
| 126 | p.Size = Vector3.new(0.2, 2.5, 2.5) |
| 127 | p.CFrame = CFrame.new(-2, 3.42, 3.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 128 | p.BrickColor = BrickColor.new("Camo") |
| 129 | p.Material = Enum.Material.Glacier |
| 130 | p.MaterialVariant = "2022 Inlet" |
| 131 | p.Anchored = true |
| 132 | p.Parent = model |
| 133 | end |
| 134 | do |
| 135 | local p = Instance.new("Part") |
| 136 | p.Shape = Enum.PartType.Cylinder |
| 137 | p.Name = "Pickle3" |
| 138 | p.Size = Vector3.new(0.2, 2.5, 2.5) |
| 139 | p.CFrame = CFrame.new(-3, 3.42, -2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 140 | p.BrickColor = BrickColor.new("Camo") |
| 141 | p.Material = Enum.Material.Glacier |
| 142 | p.MaterialVariant = "2022 Inlet" |
| 143 | p.Anchored = true |
| 144 | p.Parent = model |
| 145 | end |
| 146 | do |
| 147 | local p = Instance.new("Part") |
| 148 | p.Shape = Enum.PartType.Cylinder |
| 149 | p.Name = "Pickle4" |
| 150 | p.Size = Vector3.new(0.2, 2.5, 2.5) |
| 151 | p.CFrame = CFrame.new(1.5, 3.42, -3.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 152 | p.BrickColor = BrickColor.new("Camo") |
| 153 | p.Material = Enum.Material.Glacier |
| 154 | p.MaterialVariant = "2022 Inlet" |
| 155 | p.Anchored = true |
| 156 | p.Parent = model |
| 157 | end |
| 158 | do |
| 159 | local p = Instance.new("Part") |
| 160 | p.Shape = Enum.PartType.Ball |
| 161 | p.Name = "Condiment_0" |
| 162 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 163 | p.CFrame = CFrame.new(4.2, 3.3, 0) |
| 164 | p.BrickColor = BrickColor.new("Bright red") |
| 165 | p.Material = Enum.Material.Glacier |
| 166 | p.MaterialVariant = "2022 Glue" |
| 167 | p.Anchored = true |
| 168 | p.Parent = model |
| 169 | end |
| 170 | do |
| 171 | local p = Instance.new("Part") |
| 172 | p.Shape = Enum.PartType.Ball |
| 173 | p.Name = "Condiment_1" |
| 174 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 175 | p.CFrame = CFrame.new(3.63731, 3.3, 2.1) |
| 176 | p.BrickColor = BrickColor.new("New Yeller") |
| 177 | p.Material = Enum.Material.Glacier |
| 178 | p.MaterialVariant = "2022 Glue" |
| 179 | p.Anchored = true |
| 180 | p.Parent = model |
| 181 | end |
| 182 | do |
| 183 | local p = Instance.new("Part") |
| 184 | p.Shape = Enum.PartType.Ball |
| 185 | p.Name = "Condiment_2" |
| 186 | p.Size = Vector3.new(1.6, 1.6, 1.6) |
| 187 | p.CFrame = CFrame.new(2.1, 3.3, 3.63731) |
| 188 | p.BrickColor = BrickColor.new("Bright red") |
| 189 | p.Material = Enum.Material.Glacier |
| 190 | p.MaterialVariant = "2022 Glue" |
| 191 | p.Anchored = true |
| 192 | p.Parent = model |
| 193 | end |
| 194 | do |
| 195 | local p = Instance.new("Part") |
| 196 | p.Shape = Enum.PartType.Ball |
| 197 | p.Name = "Condiment_3" |
| 198 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 199 | p.CFrame = CFrame.new(0, 3.3, 4.2) |
| 200 | p.BrickColor = BrickColor.new("New Yeller") |
| 201 | p.Material = Enum.Material.Glacier |
| 202 | p.MaterialVariant = "2022 Glue" |
| 203 | p.Anchored = true |
| 204 | p.Parent = model |
| 205 | end |
| 206 | do |
| 207 | local p = Instance.new("Part") |
| 208 | p.Shape = Enum.PartType.Ball |
| 209 | p.Name = "Condiment_4" |
| 210 | p.Size = Vector3.new(1.4, 1.4, 1.4) |
| 211 | p.CFrame = CFrame.new(-2.1, 3.3, 3.63731) |
| 212 | p.BrickColor = BrickColor.new("Bright red") |
| 213 | p.Material = Enum.Material.Glacier |
| 214 | p.MaterialVariant = "2022 Glue" |
| 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 = "Condiment_5" |
| 222 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 223 | p.CFrame = CFrame.new(-3.63731, 3.3, 2.1) |
| 224 | p.BrickColor = BrickColor.new("New Yeller") |
| 225 | p.Material = Enum.Material.Glacier |
| 226 | p.MaterialVariant = "2022 Glue" |
| 227 | p.Anchored = true |
| 228 | p.Parent = model |
| 229 | end |
| 230 | do |
| 231 | local p = Instance.new("Part") |
| 232 | p.Shape = Enum.PartType.Ball |
| 233 | p.Name = "Condiment_6" |
| 234 | p.Size = Vector3.new(1.2, 1.2, 1.2) |
| 235 | p.CFrame = CFrame.new(-4.2, 3.3, 0) |
| 236 | p.BrickColor = BrickColor.new("Bright red") |
| 237 | p.Material = Enum.Material.Glacier |
| 238 | p.MaterialVariant = "2022 Glue" |
| 239 | p.Anchored = true |
| 240 | p.Parent = model |
| 241 | end |
| 242 | do |
| 243 | local p = Instance.new("Part") |
| 244 | p.Shape = Enum.PartType.Ball |
| 245 | p.Name = "Condiment_7" |
| 246 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 247 | p.CFrame = CFrame.new(-3.63731, 3.3, -2.1) |
| 248 | p.BrickColor = BrickColor.new("New Yeller") |
| 249 | p.Material = Enum.Material.Glacier |
| 250 | p.MaterialVariant = "2022 Glue" |
| 251 | p.Anchored = true |
| 252 | p.Parent = model |
| 253 | end |
| 254 | do |
| 255 | local p = Instance.new("Part") |
| 256 | p.Shape = Enum.PartType.Ball |
| 257 | p.Name = "Condiment_8" |
| 258 | p.Size = Vector3.new(1.6, 1.6, 1.6) |
| 259 | p.CFrame = CFrame.new(-2.1, 3.3, -3.63731) |
| 260 | p.BrickColor = BrickColor.new("Bright red") |
| 261 | p.Material = Enum.Material.Glacier |
| 262 | p.MaterialVariant = "2022 Glue" |
| 263 | p.Anchored = true |
| 264 | p.Parent = model |
| 265 | end |
| 266 | do |
| 267 | local p = Instance.new("Part") |
| 268 | p.Shape = Enum.PartType.Ball |
| 269 | p.Name = "Condiment_9" |
| 270 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 271 | p.CFrame = CFrame.new(0, 3.3, -4.2) |
| 272 | p.BrickColor = BrickColor.new("New Yeller") |
| 273 | p.Material = Enum.Material.Glacier |
| 274 | p.MaterialVariant = "2022 Glue" |
| 275 | p.Anchored = true |
| 276 | p.Parent = model |
| 277 | end |
| 278 | do |
| 279 | local p = Instance.new("Part") |
| 280 | p.Shape = Enum.PartType.Ball |
| 281 | p.Name = "Condiment_10" |
| 282 | p.Size = Vector3.new(1.4, 1.4, 1.4) |
| 283 | p.CFrame = CFrame.new(2.1, 3.3, -3.63731) |
| 284 | p.BrickColor = BrickColor.new("Bright red") |
| 285 | p.Material = Enum.Material.Glacier |
| 286 | p.MaterialVariant = "2022 Glue" |
| 287 | p.Anchored = true |
| 288 | p.Parent = model |
| 289 | end |
| 290 | do |
| 291 | local p = Instance.new("Part") |
| 292 | p.Shape = Enum.PartType.Ball |
| 293 | p.Name = "Condiment_11" |
| 294 | p.Size = Vector3.new(1.3, 1.3, 1.3) |
| 295 | p.CFrame = CFrame.new(3.63731, 3.3, -2.1) |
| 296 | p.BrickColor = BrickColor.new("New Yeller") |
| 297 | p.Material = Enum.Material.Glacier |
| 298 | p.MaterialVariant = "2022 Glue" |
| 299 | p.Anchored = true |
| 300 | p.Parent = model |
| 301 | end |
| 302 | do |
| 303 | local p = Instance.new("Part") |
| 304 | p.Shape = Enum.PartType.Cylinder |
| 305 | p.Name = "TopBunBase" |
| 306 | p.Size = Vector3.new(1, 9.5, 9.5) |
| 307 | p.CFrame = CFrame.new(0, 3.76, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 308 | p.BrickColor = BrickColor.new("Nougat") |
| 309 | p.Material = Enum.Material.Glacier |
| 310 | p.MaterialVariant = "2022 Glue" |
| 311 | p.Anchored = true |
| 312 | p.Parent = model |
| 313 | end |
| 314 | do |
| 315 | local upV = Vector3.new(0,1,0).Unit |
| 316 | local rightV = (Vector3.new(1,0,0) - Vector3.new(1,0,0):Dot(upV)*upV).Unit |
| 317 | local forwardV = rightV:Cross(upV) |
| 318 | local pos = Vector3.new(0, 4.3, 0) |
| 319 | local ball = Instance.new("Part") |
| 320 | ball.Shape = Enum.PartType.Ball |
| 321 | ball.Size = Vector3.new(9.5, 9.5, 9.5) |
| 322 | ball.CFrame = CFrame.new(pos) |
| 323 | ball.BrickColor = BrickColor.new("Nougat") |
| 324 | ball.Material = Enum.Material.Glacier |
| 325 | ball.MaterialVariant = "2022 Glue" |
| 326 | ball.Anchored = true; ball.Parent = workspace |
| 327 | local cuts = {} |
| 328 | do |
| 329 | local h = 0 |
| 330 | local cut = Instance.new("Part") |
| 331 | cut.Size = Vector3.new(19, 19, 19) |
| 332 | cut.CFrame = CFrame.fromMatrix(pos + upV*(-9.5), rightV, upV) |
| 333 | cut.BrickColor = BrickColor.new("Nougat") |
| 334 | cut.Material = Enum.Material.Glacier |
| 335 | cut.MaterialVariant = "2022 Glue" |
| 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 = "TopBunDome"; result.Anchored = true; result.Parent = model |
| 345 | else |
| 346 | ball.Name = "TopBunDome"; ball.Parent = model |
| 347 | end |
| 348 | else |
| 349 | ball.Name = "TopBunDome"; ball.Parent = model |
| 350 | end |
| 351 | end |
| 352 | model.PrimaryPart = model:FindFirstChild("BottomBun") |
| 353 | print("Cheeseburger built: " .. #model:GetChildren() .. " parts") |
Loading comments...