Loading model...
by Maxwell Waybrook · 6/11/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: Apple |
| 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 = "Apple" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["Really black"] = "2022 Universal", |
| 26 | } |
| 27 | do |
| 28 | local p = Instance.new("Part") |
| 29 | p.Shape = Enum.PartType.Cylinder |
| 30 | p.Name = "Body_L1" |
| 31 | p.Size = Vector3.new(1, 3.5, 3.5) |
| 32 | p.CFrame = CFrame.new(0, 0.38, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 33 | p.BrickColor = BrickColor.new("Bright red") |
| 34 | p.Material = Enum.Material.Glacier |
| 35 | p.MaterialVariant = "2022 Stud" |
| 36 | p.Anchored = true |
| 37 | p.Parent = model |
| 38 | end |
| 39 | do |
| 40 | local p = Instance.new("Part") |
| 41 | p.Shape = Enum.PartType.Cylinder |
| 42 | p.Name = "Body_L2" |
| 43 | p.Size = Vector3.new(1, 5, 5) |
| 44 | p.CFrame = CFrame.new(0, 1.42, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 45 | p.BrickColor = BrickColor.new("Bright red") |
| 46 | p.Material = Enum.Material.Glacier |
| 47 | p.MaterialVariant = "2022 Stud" |
| 48 | p.Anchored = true |
| 49 | p.Parent = model |
| 50 | end |
| 51 | do |
| 52 | local p = Instance.new("Part") |
| 53 | p.Shape = Enum.PartType.Cylinder |
| 54 | p.Name = "Body_L3" |
| 55 | p.Size = Vector3.new(1, 6, 6) |
| 56 | p.CFrame = CFrame.new(0, 2.46, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 57 | p.BrickColor = BrickColor.new("Bright red") |
| 58 | p.Material = Enum.Material.Glacier |
| 59 | p.MaterialVariant = "2022 Stud" |
| 60 | p.Anchored = true |
| 61 | p.Parent = model |
| 62 | end |
| 63 | do |
| 64 | local p = Instance.new("Part") |
| 65 | p.Shape = Enum.PartType.Cylinder |
| 66 | p.Name = "Body_L4" |
| 67 | p.Size = Vector3.new(1, 6.5, 6.5) |
| 68 | p.CFrame = CFrame.new(0, 3.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 69 | p.BrickColor = BrickColor.new("Bright red") |
| 70 | p.Material = Enum.Material.Glacier |
| 71 | p.MaterialVariant = "2022 Stud" |
| 72 | p.Anchored = true |
| 73 | p.Parent = model |
| 74 | end |
| 75 | do |
| 76 | local p = Instance.new("Part") |
| 77 | p.Shape = Enum.PartType.Cylinder |
| 78 | p.Name = "Body_L5" |
| 79 | p.Size = Vector3.new(1, 6.2, 6.2) |
| 80 | p.CFrame = CFrame.new(0, 4.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 81 | p.BrickColor = BrickColor.new("Bright red") |
| 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.Shape = Enum.PartType.Cylinder |
| 90 | p.Name = "Body_L6" |
| 91 | p.Size = Vector3.new(1, 5, 5) |
| 92 | p.CFrame = CFrame.new(0, 5.58, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 93 | p.BrickColor = BrickColor.new("Bright red") |
| 94 | p.Material = Enum.Material.Glacier |
| 95 | p.MaterialVariant = "2022 Stud" |
| 96 | p.Anchored = true |
| 97 | p.Parent = model |
| 98 | end |
| 99 | do |
| 100 | local p = Instance.new("Part") |
| 101 | p.Shape = Enum.PartType.Cylinder |
| 102 | p.Name = "Body_L7" |
| 103 | p.Size = Vector3.new(0.5, 3.5, 3.5) |
| 104 | p.CFrame = CFrame.new(0, 6.37, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 105 | p.BrickColor = BrickColor.new("Bright red") |
| 106 | p.Material = Enum.Material.Glacier |
| 107 | p.MaterialVariant = "2022 Stud" |
| 108 | p.Anchored = true |
| 109 | p.Parent = model |
| 110 | end |
| 111 | do |
| 112 | local p = Instance.new("Part") |
| 113 | p.Shape = Enum.PartType.Cylinder |
| 114 | p.Name = "Stem" |
| 115 | p.Size = Vector3.new(2.41039, 0.4, 0.4) |
| 116 | p.CFrame = CFrame.new(0.3, 6.65, -0.2) * CFrame.Angles(math.rad(0), math.rad(33.6901), math.rad(72.5924)) |
| 117 | p.BrickColor = BrickColor.new("Really black") |
| 118 | p.Material = Enum.Material.Glacier |
| 119 | p.MaterialVariant = "2022 Universal" |
| 120 | p.Anchored = true |
| 121 | p.Parent = model |
| 122 | end |
| 123 | model.PrimaryPart = model:FindFirstChild("Body_L4") |
| 124 | print("Apple built: " .. #model:GetChildren() .. " parts") |
Loading comments...