Loading model...
by Maxwell Waybrook · 6/9/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: PineTree |
| 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 = "PineTree" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Bright green"] = "2022 Stud", |
| 25 | ["Reddish brown"] = "2022 Small Stud", |
| 26 | } |
| 27 | do |
| 28 | local p = Instance.new("Part") |
| 29 | p.Name = "TrunkBase1" |
| 30 | p.Size = Vector3.new(3, 2, 3) |
| 31 | p.CFrame = CFrame.new(0, 1, 0) |
| 32 | p.BrickColor = BrickColor.new("Reddish brown") |
| 33 | p.Material = Enum.Material.Glacier |
| 34 | p.MaterialVariant = "2022 Small Stud" |
| 35 | p.Anchored = true |
| 36 | p.Parent = model |
| 37 | end |
| 38 | do |
| 39 | local p = Instance.new("Part") |
| 40 | p.Name = "TrunkBase2" |
| 41 | p.Size = Vector3.new(2, 1, 2) |
| 42 | p.CFrame = CFrame.new(1.04, 0.42, 1.04) |
| 43 | p.BrickColor = BrickColor.new("Reddish brown") |
| 44 | p.Material = Enum.Material.Glacier |
| 45 | p.MaterialVariant = "2022 Small Stud" |
| 46 | p.Anchored = true |
| 47 | p.Parent = model |
| 48 | end |
| 49 | do |
| 50 | local p = Instance.new("Part") |
| 51 | p.Name = "TrunkBase3" |
| 52 | p.Size = Vector3.new(2, 1, 2) |
| 53 | p.CFrame = CFrame.new(-1.04, 0.42, -1.04) |
| 54 | p.BrickColor = BrickColor.new("Reddish brown") |
| 55 | p.Material = Enum.Material.Glacier |
| 56 | p.MaterialVariant = "2022 Small Stud" |
| 57 | p.Anchored = true |
| 58 | p.Parent = model |
| 59 | end |
| 60 | do |
| 61 | local p = Instance.new("Part") |
| 62 | p.Name = "TrunkBase4" |
| 63 | p.Size = Vector3.new(2, 1, 2) |
| 64 | p.CFrame = CFrame.new(1, 0.42, -1) |
| 65 | p.BrickColor = BrickColor.new("Reddish brown") |
| 66 | p.Material = Enum.Material.Glacier |
| 67 | p.MaterialVariant = "2022 Small Stud" |
| 68 | p.Anchored = true |
| 69 | p.Parent = model |
| 70 | end |
| 71 | do |
| 72 | local p = Instance.new("Part") |
| 73 | p.Name = "TrunkBase5" |
| 74 | p.Size = Vector3.new(2, 1, 2) |
| 75 | p.CFrame = CFrame.new(-1, 0.42, 1) |
| 76 | p.BrickColor = BrickColor.new("Reddish brown") |
| 77 | p.Material = Enum.Material.Glacier |
| 78 | p.MaterialVariant = "2022 Small Stud" |
| 79 | p.Anchored = true |
| 80 | p.Parent = model |
| 81 | end |
| 82 | do |
| 83 | local p = Instance.new("Part") |
| 84 | p.Name = "TrunkMain1" |
| 85 | p.Size = Vector3.new(2, 4, 2) |
| 86 | p.CFrame = CFrame.new(0, 2.96, 0) |
| 87 | p.BrickColor = BrickColor.new("Reddish brown") |
| 88 | p.Material = Enum.Material.Glacier |
| 89 | p.MaterialVariant = "2022 Small Stud" |
| 90 | p.Anchored = true |
| 91 | p.Parent = model |
| 92 | end |
| 93 | do |
| 94 | local p = Instance.new("Part") |
| 95 | p.Name = "TrunkMain2" |
| 96 | p.Size = Vector3.new(1.5, 4, 1.5) |
| 97 | p.CFrame = CFrame.new(0, 5.96, 0) |
| 98 | p.BrickColor = BrickColor.new("Reddish brown") |
| 99 | p.Material = Enum.Material.Glacier |
| 100 | p.MaterialVariant = "2022 Small Stud" |
| 101 | p.Anchored = true |
| 102 | p.Parent = model |
| 103 | end |
| 104 | do |
| 105 | local p = Instance.new("Part") |
| 106 | p.Name = "TrunkMain3" |
| 107 | p.Size = Vector3.new(1, 4, 1) |
| 108 | p.CFrame = CFrame.new(0, 10, 0) |
| 109 | p.BrickColor = BrickColor.new("Reddish brown") |
| 110 | p.Material = Enum.Material.Glacier |
| 111 | p.MaterialVariant = "2022 Small Stud" |
| 112 | p.Anchored = true |
| 113 | p.Parent = model |
| 114 | end |
| 115 | do |
| 116 | local p = Instance.new("Part") |
| 117 | p.Name = "TrunkMain4" |
| 118 | p.Size = Vector3.new(0.8, 4, 0.8) |
| 119 | p.CFrame = CFrame.new(0, 14.12, 0) |
| 120 | p.BrickColor = BrickColor.new("Reddish brown") |
| 121 | p.Material = Enum.Material.Glacier |
| 122 | p.MaterialVariant = "2022 Small Stud" |
| 123 | p.Anchored = true |
| 124 | p.Parent = model |
| 125 | end |
| 126 | do |
| 127 | local p = Instance.new("Part") |
| 128 | p.Name = "LeafTier1_Base" |
| 129 | p.Size = Vector3.new(10, 1, 10) |
| 130 | p.CFrame = CFrame.new(0, 5.5, 0) |
| 131 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier1_L1" |
| 140 | p.Size = Vector3.new(9, 1, 9) |
| 141 | p.CFrame = CFrame.new(0, 6.54, 0) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 142 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier1_L2" |
| 151 | p.Size = Vector3.new(8, 1, 8) |
| 152 | p.CFrame = CFrame.new(0, 7.58, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)) |
| 153 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier1_L3" |
| 162 | p.Size = Vector3.new(6, 1, 6) |
| 163 | p.CFrame = CFrame.new(0, 8.62, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)) |
| 164 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier2_Base" |
| 173 | p.Size = Vector3.new(8, 1, 8) |
| 174 | p.CFrame = CFrame.new(0, 10.5, 0) |
| 175 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier2_L1" |
| 184 | p.Size = Vector3.new(7, 1, 7) |
| 185 | p.CFrame = CFrame.new(0, 11.54, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 186 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier2_L2" |
| 195 | p.Size = Vector3.new(5.5, 1, 5.5) |
| 196 | p.CFrame = CFrame.new(0, 12.58, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0)) |
| 197 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier2_L3" |
| 206 | p.Size = Vector3.new(4, 1, 4) |
| 207 | p.CFrame = CFrame.new(0, 13.62, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)) |
| 208 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier3_Base" |
| 217 | p.Size = Vector3.new(6, 1, 6) |
| 218 | p.CFrame = CFrame.new(0, 15.5, 0) |
| 219 | p.BrickColor = BrickColor.new("Bright green") |
| 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 = "LeafTier3_L1" |
| 228 | p.Size = Vector3.new(5, 1, 5) |
| 229 | p.CFrame = CFrame.new(0, 16.54, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)) |
| 230 | p.BrickColor = BrickColor.new("Bright green") |
| 231 | p.Material = Enum.Material.Glacier |
| 232 | p.MaterialVariant = "2022 Stud" |
| 233 | p.Anchored = true |
| 234 | p.Parent = model |
| 235 | end |
| 236 | do |
| 237 | local p = Instance.new("Part") |
| 238 | p.Name = "LeafTier3_L2" |
| 239 | p.Size = Vector3.new(4, 1, 4) |
| 240 | p.CFrame = CFrame.new(0, 17.58, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(0)) |
| 241 | p.BrickColor = BrickColor.new("Bright green") |
| 242 | p.Material = Enum.Material.Glacier |
| 243 | p.MaterialVariant = "2022 Stud" |
| 244 | p.Anchored = true |
| 245 | p.Parent = model |
| 246 | end |
| 247 | do |
| 248 | local p = Instance.new("Part") |
| 249 | p.Name = "LeafTier3_L3" |
| 250 | p.Size = Vector3.new(3, 1, 3) |
| 251 | p.CFrame = CFrame.new(0, 18.62, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0)) |
| 252 | p.BrickColor = BrickColor.new("Bright green") |
| 253 | p.Material = Enum.Material.Glacier |
| 254 | p.MaterialVariant = "2022 Stud" |
| 255 | p.Anchored = true |
| 256 | p.Parent = model |
| 257 | end |
| 258 | do |
| 259 | local p = Instance.new("Part") |
| 260 | p.Name = "LeafTier3_L4" |
| 261 | p.Size = Vector3.new(2, 1, 2) |
| 262 | p.CFrame = CFrame.new(0, 19.66, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)) |
| 263 | p.BrickColor = BrickColor.new("Bright green") |
| 264 | p.Material = Enum.Material.Glacier |
| 265 | p.MaterialVariant = "2022 Stud" |
| 266 | p.Anchored = true |
| 267 | p.Parent = model |
| 268 | end |
| 269 | do |
| 270 | local p = Instance.new("Part") |
| 271 | p.Name = "LeafTier3_Top" |
| 272 | p.Size = Vector3.new(1, 1, 1) |
| 273 | p.CFrame = CFrame.new(0, 20.7, 0) |
| 274 | p.BrickColor = BrickColor.new("Bright green") |
| 275 | p.Material = Enum.Material.Glacier |
| 276 | p.MaterialVariant = "2022 Stud" |
| 277 | p.Anchored = true |
| 278 | p.Parent = model |
| 279 | end |
| 280 | do |
| 281 | local p = Instance.new("Part") |
| 282 | p.Name = "LeafDetail1" |
| 283 | p.Size = Vector3.new(2, 1, 2) |
| 284 | p.CFrame = CFrame.new(3, 6, 2) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) |
| 285 | p.BrickColor = BrickColor.new("Bright green") |
| 286 | p.Material = Enum.Material.Glacier |
| 287 | p.MaterialVariant = "2022 Stud" |
| 288 | p.Anchored = true |
| 289 | p.Parent = model |
| 290 | end |
| 291 | do |
| 292 | local p = Instance.new("Part") |
| 293 | p.Name = "LeafDetail2" |
| 294 | p.Size = Vector3.new(2, 1, 2) |
| 295 | p.CFrame = CFrame.new(-3, 7, -2) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)) |
| 296 | p.BrickColor = BrickColor.new("Bright green") |
| 297 | p.Material = Enum.Material.Glacier |
| 298 | p.MaterialVariant = "2022 Stud" |
| 299 | p.Anchored = true |
| 300 | p.Parent = model |
| 301 | end |
| 302 | do |
| 303 | local p = Instance.new("Part") |
| 304 | p.Name = "LeafDetail3" |
| 305 | p.Size = Vector3.new(2, 1, 2) |
| 306 | p.CFrame = CFrame.new(2, 11, -2) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)) |
| 307 | p.BrickColor = BrickColor.new("Bright green") |
| 308 | p.Material = Enum.Material.Glacier |
| 309 | p.MaterialVariant = "2022 Stud" |
| 310 | p.Anchored = true |
| 311 | p.Parent = model |
| 312 | end |
| 313 | do |
| 314 | local p = Instance.new("Part") |
| 315 | p.Name = "LeafDetail4" |
| 316 | p.Size = Vector3.new(2, 1, 2) |
| 317 | p.CFrame = CFrame.new(-2, 12, 2) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(0)) |
| 318 | p.BrickColor = BrickColor.new("Bright green") |
| 319 | p.Material = Enum.Material.Glacier |
| 320 | p.MaterialVariant = "2022 Stud" |
| 321 | p.Anchored = true |
| 322 | p.Parent = model |
| 323 | end |
| 324 | do |
| 325 | local p = Instance.new("Part") |
| 326 | p.Name = "LeafDetail5" |
| 327 | p.Size = Vector3.new(1.5, 1, 1.5) |
| 328 | p.CFrame = CFrame.new(1.5, 16, 1.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)) |
| 329 | p.BrickColor = BrickColor.new("Bright green") |
| 330 | p.Material = Enum.Material.Glacier |
| 331 | p.MaterialVariant = "2022 Stud" |
| 332 | p.Anchored = true |
| 333 | p.Parent = model |
| 334 | end |
| 335 | do |
| 336 | local p = Instance.new("Part") |
| 337 | p.Name = "LeafDetail6" |
| 338 | p.Size = Vector3.new(1.5, 1, 1.5) |
| 339 | p.CFrame = CFrame.new(-1.5, 17, -1.5) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) |
| 340 | p.BrickColor = BrickColor.new("Bright green") |
| 341 | p.Material = Enum.Material.Glacier |
| 342 | p.MaterialVariant = "2022 Stud" |
| 343 | p.Anchored = true |
| 344 | p.Parent = model |
| 345 | end |
| 346 | model.PrimaryPart = model:FindFirstChild("TrunkBase1") |
| 347 | print("PineTree built: " .. #model:GetChildren() .. " parts") |
Loading comments...