Loading model...
by Matei · 9/9/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: Mushroom |
| 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 = "Mushroom" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright red"] = "2022 Stud", |
| 25 | ["White"] = "2022 Stud", |
| 26 | } |
| 27 | do |
| 28 | local p = Instance.new("Part") |
| 29 | p.Name = "StemBase" |
| 30 | p.Size = Vector3.new(6, 3, 6) |
| 31 | p.CFrame = CFrame.new(0, 1.5, 0) |
| 32 | p.BrickColor = BrickColor.new("White") |
| 33 | p.Material = Enum.Material.Glacier |
| 34 | p.MaterialVariant = "2022 Stud" |
| 35 | p.Anchored = true |
| 36 | p.Parent = model |
| 37 | end |
| 38 | do |
| 39 | local p = Instance.new("Part") |
| 40 | p.Name = "StemUpper" |
| 41 | p.Size = Vector3.new(5, 3, 5) |
| 42 | p.CFrame = CFrame.new(0, 4.54, 0) |
| 43 | p.BrickColor = BrickColor.new("White") |
| 44 | p.Material = Enum.Material.Glacier |
| 45 | p.MaterialVariant = "2022 Stud" |
| 46 | p.Anchored = true |
| 47 | p.Parent = model |
| 48 | end |
| 49 | do |
| 50 | local p = Instance.new("Part") |
| 51 | p.Name = "CapLayer1" |
| 52 | p.Size = Vector3.new(9, 2, 9) |
| 53 | p.CFrame = CFrame.new(0, 6.96, 0) |
| 54 | p.BrickColor = BrickColor.new("Bright red") |
| 55 | p.Material = Enum.Material.Glacier |
| 56 | p.MaterialVariant = "2022 Stud" |
| 57 | p.Anchored = true |
| 58 | p.Parent = model |
| 59 | end |
| 60 | do |
| 61 | local p = Instance.new("Part") |
| 62 | p.Name = "CapLayer2" |
| 63 | p.Size = Vector3.new(11, 2, 11) |
| 64 | p.CFrame = CFrame.new(0, 9, 0) |
| 65 | p.BrickColor = BrickColor.new("Bright red") |
| 66 | p.Material = Enum.Material.Glacier |
| 67 | p.MaterialVariant = "2022 Stud" |
| 68 | p.Anchored = true |
| 69 | p.Parent = model |
| 70 | end |
| 71 | do |
| 72 | local p = Instance.new("Part") |
| 73 | p.Name = "CapLayer3" |
| 74 | p.Size = Vector3.new(10, 2, 10) |
| 75 | p.CFrame = CFrame.new(0, 11.04, 0) |
| 76 | p.BrickColor = BrickColor.new("Bright red") |
| 77 | p.Material = Enum.Material.Glacier |
| 78 | p.MaterialVariant = "2022 Stud" |
| 79 | p.Anchored = true |
| 80 | p.Parent = model |
| 81 | end |
| 82 | do |
| 83 | local p = Instance.new("Part") |
| 84 | p.Name = "CapLayer4" |
| 85 | p.Size = Vector3.new(8, 2, 8) |
| 86 | p.CFrame = CFrame.new(0, 13.08, 0) |
| 87 | p.BrickColor = BrickColor.new("Bright red") |
| 88 | p.Material = Enum.Material.Glacier |
| 89 | p.MaterialVariant = "2022 Stud" |
| 90 | p.Anchored = true |
| 91 | p.Parent = model |
| 92 | end |
| 93 | do |
| 94 | local p = Instance.new("Part") |
| 95 | p.Name = "CapLayer5" |
| 96 | p.Size = Vector3.new(5, 1, 5) |
| 97 | p.CFrame = CFrame.new(0, 14.62, 0) |
| 98 | p.BrickColor = BrickColor.new("Bright red") |
| 99 | p.Material = Enum.Material.Glacier |
| 100 | p.MaterialVariant = "2022 Stud" |
| 101 | p.Anchored = true |
| 102 | p.Parent = model |
| 103 | end |
| 104 | do |
| 105 | local p = Instance.new("Part") |
| 106 | p.Name = "Spot1" |
| 107 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 108 | p.CFrame = CFrame.new(-2.5, 12.5, -3.8) * CFrame.Angles(math.rad(35), math.rad(15), math.rad(20)) |
| 109 | p.BrickColor = BrickColor.new("White") |
| 110 | p.Material = Enum.Material.Glacier |
| 111 | p.MaterialVariant = "2022 Stud" |
| 112 | p.Anchored = true |
| 113 | p.Parent = model |
| 114 | end |
| 115 | do |
| 116 | local p = Instance.new("Part") |
| 117 | p.Name = "Spot2" |
| 118 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 119 | p.CFrame = CFrame.new(3, 10, -5) * CFrame.Angles(math.rad(15), math.rad(-25), math.rad(-15)) |
| 120 | p.BrickColor = BrickColor.new("White") |
| 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.Name = "Spot3" |
| 129 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 130 | p.CFrame = CFrame.new(-3.5, 8.5, -4.2) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(45)) |
| 131 | p.BrickColor = BrickColor.new("White") |
| 132 | p.Material = Enum.Material.Glacier |
| 133 | p.MaterialVariant = "2022 Stud" |
| 134 | p.Anchored = true |
| 135 | p.Parent = model |
| 136 | end |
| 137 | do |
| 138 | local p = Instance.new("Part") |
| 139 | p.Name = "Spot4" |
| 140 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 141 | p.CFrame = CFrame.new(1, 14.8, -1) * CFrame.Angles(math.rad(10), math.rad(45), math.rad(-10)) |
| 142 | p.BrickColor = BrickColor.new("White") |
| 143 | p.Material = Enum.Material.Glacier |
| 144 | p.MaterialVariant = "2022 Stud" |
| 145 | p.Anchored = true |
| 146 | p.Parent = model |
| 147 | end |
| 148 | do |
| 149 | local p = Instance.new("Part") |
| 150 | p.Name = "Spot5" |
| 151 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 152 | p.CFrame = CFrame.new(-1.5, 14.5, 1.5) * CFrame.Angles(math.rad(-15), math.rad(70), math.rad(15)) |
| 153 | p.BrickColor = BrickColor.new("White") |
| 154 | p.Material = Enum.Material.Glacier |
| 155 | p.MaterialVariant = "2022 Stud" |
| 156 | p.Anchored = true |
| 157 | p.Parent = model |
| 158 | end |
| 159 | do |
| 160 | local p = Instance.new("Part") |
| 161 | p.Name = "Spot6" |
| 162 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 163 | p.CFrame = CFrame.new(-5.2, 9.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(35)) |
| 164 | p.BrickColor = BrickColor.new("White") |
| 165 | p.Material = Enum.Material.Glacier |
| 166 | p.MaterialVariant = "2022 Stud" |
| 167 | p.Anchored = true |
| 168 | p.Parent = model |
| 169 | end |
| 170 | do |
| 171 | local p = Instance.new("Part") |
| 172 | p.Name = "Spot7" |
| 173 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 174 | p.CFrame = CFrame.new(-4.5, 11.5, 2.5) * CFrame.Angles(math.rad(-20), math.rad(120), math.rad(25)) |
| 175 | p.BrickColor = BrickColor.new("White") |
| 176 | p.Material = Enum.Material.Glacier |
| 177 | p.MaterialVariant = "2022 Stud" |
| 178 | p.Anchored = true |
| 179 | p.Parent = model |
| 180 | end |
| 181 | do |
| 182 | local p = Instance.new("Part") |
| 183 | p.Name = "Spot8" |
| 184 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 185 | p.CFrame = CFrame.new(5.2, 8.5, 1) * CFrame.Angles(math.rad(10), math.rad(-90), math.rad(-30)) |
| 186 | p.BrickColor = BrickColor.new("White") |
| 187 | p.Material = Enum.Material.Glacier |
| 188 | p.MaterialVariant = "2022 Stud" |
| 189 | p.Anchored = true |
| 190 | p.Parent = model |
| 191 | end |
| 192 | do |
| 193 | local p = Instance.new("Part") |
| 194 | p.Name = "Spot9" |
| 195 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 196 | p.CFrame = CFrame.new(4.5, 12, -1.5) * CFrame.Angles(math.rad(25), math.rad(-75), math.rad(-15)) |
| 197 | p.BrickColor = BrickColor.new("White") |
| 198 | p.Material = Enum.Material.Glacier |
| 199 | p.MaterialVariant = "2022 Stud" |
| 200 | p.Anchored = true |
| 201 | p.Parent = model |
| 202 | end |
| 203 | do |
| 204 | local p = Instance.new("Part") |
| 205 | p.Name = "Spot10" |
| 206 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 207 | p.CFrame = CFrame.new(0, 10.5, 5.2) * CFrame.Angles(math.rad(-35), math.rad(180), math.rad(10)) |
| 208 | p.BrickColor = BrickColor.new("White") |
| 209 | p.Material = Enum.Material.Glacier |
| 210 | p.MaterialVariant = "2022 Stud" |
| 211 | p.Anchored = true |
| 212 | p.Parent = model |
| 213 | end |
| 214 | do |
| 215 | local p = Instance.new("Part") |
| 216 | p.Name = "Spot11" |
| 217 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 218 | p.CFrame = CFrame.new(2.5, 13, 3.5) * CFrame.Angles(math.rad(-45), math.rad(-150), math.rad(-20)) |
| 219 | p.BrickColor = BrickColor.new("White") |
| 220 | p.Material = Enum.Material.Glacier |
| 221 | p.MaterialVariant = "2022 Stud" |
| 222 | p.Anchored = true |
| 223 | p.Parent = model |
| 224 | end |
| 225 | do |
| 226 | local p = Instance.new("Part") |
| 227 | p.Name = "Spot12" |
| 228 | p.Size = Vector3.new(1.8, 1.8, 1.8) |
| 229 | p.CFrame = CFrame.new(-2, 8, 4.2) * CFrame.Angles(math.rad(-15), math.rad(160), math.rad(30)) |
| 230 | p.BrickColor = BrickColor.new("White") |
| 231 | p.Material = Enum.Material.Glacier |
| 232 | p.MaterialVariant = "2022 Stud" |
| 233 | p.Anchored = true |
| 234 | p.Parent = model |
| 235 | end |
| 236 | model.PrimaryPart = model:FindFirstChild("StemBase") |
| 237 | print("Mushroom built: " .. #model:GetChildren() .. " parts") |
Loading comments...