Loading model...
by christian cc · 3/27/2026
Lua Script
| 1 | -- Generated with StudForge.org | AI-powered 3D models for Roblox |
| 2 | -- Model: DeadTree |
| 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 = "DeadTree" |
| 21 | model.Parent = workspace |
| 22 | |
| 23 | local variants = { |
| 24 | ["Beige"] = "2022 Stud", |
| 25 | ["Black"] = "2022 Glue", |
| 26 | ["Burnt Sienna"] = "2022 Stud", |
| 27 | ["Dark taupe"] = "2022 Stud", |
| 28 | } |
| 29 | do |
| 30 | local p = Instance.new("Part") |
| 31 | p.Shape = Enum.PartType.Cylinder |
| 32 | p.Name = "TrunkBase" |
| 33 | p.Size = Vector3.new(3, 3, 3) |
| 34 | p.CFrame = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 35 | p.BrickColor = BrickColor.new("Black") |
| 36 | p.Material = Enum.Material.Glacier |
| 37 | p.MaterialVariant = "2022 Glue" |
| 38 | p.Anchored = true |
| 39 | p.Parent = model |
| 40 | end |
| 41 | do |
| 42 | local p = Instance.new("Part") |
| 43 | p.Shape = Enum.PartType.Cylinder |
| 44 | p.Name = "TrunkMid1" |
| 45 | p.Size = Vector3.new(3, 2.6, 2.6) |
| 46 | p.CFrame = CFrame.new(0, 4.54, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 47 | p.BrickColor = BrickColor.new("Dark taupe") |
| 48 | p.Material = Enum.Material.Glacier |
| 49 | p.MaterialVariant = "2022 Stud" |
| 50 | p.Anchored = true |
| 51 | p.Parent = model |
| 52 | end |
| 53 | do |
| 54 | local p = Instance.new("Part") |
| 55 | p.Shape = Enum.PartType.Cylinder |
| 56 | p.Name = "TrunkMid2" |
| 57 | p.Size = Vector3.new(3, 2.2, 2.2) |
| 58 | p.CFrame = CFrame.new(0, 7.58, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 59 | p.BrickColor = BrickColor.new("Dark taupe") |
| 60 | p.Material = Enum.Material.Glacier |
| 61 | p.MaterialVariant = "2022 Stud" |
| 62 | p.Anchored = true |
| 63 | p.Parent = model |
| 64 | end |
| 65 | do |
| 66 | local p = Instance.new("Part") |
| 67 | p.Shape = Enum.PartType.Cylinder |
| 68 | p.Name = "TrunkTop" |
| 69 | p.Size = Vector3.new(3, 1.8, 1.8) |
| 70 | p.CFrame = CFrame.new(0, 10.62, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 71 | p.BrickColor = BrickColor.new("Dark taupe") |
| 72 | p.Material = Enum.Material.Glacier |
| 73 | p.MaterialVariant = "2022 Stud" |
| 74 | p.Anchored = true |
| 75 | p.Parent = model |
| 76 | end |
| 77 | do |
| 78 | local p = Instance.new("Part") |
| 79 | p.Shape = Enum.PartType.Cylinder |
| 80 | p.Name = "TrunkTipInner" |
| 81 | p.Size = Vector3.new(0.4, 1.6, 1.6) |
| 82 | p.CFrame = CFrame.new(0, 12.36, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 83 | p.BrickColor = BrickColor.new("Burnt Sienna") |
| 84 | p.Material = Enum.Material.Glacier |
| 85 | p.MaterialVariant = "2022 Stud" |
| 86 | p.Anchored = true |
| 87 | p.Parent = model |
| 88 | end |
| 89 | do |
| 90 | local p = Instance.new("Part") |
| 91 | p.Shape = Enum.PartType.Cylinder |
| 92 | p.Name = "TrunkTip" |
| 93 | p.Size = Vector3.new(2.2, 0.6, 0.6) |
| 94 | p.CFrame = CFrame.new(0, 13.7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) |
| 95 | p.BrickColor = BrickColor.new("Beige") |
| 96 | p.Material = Enum.Material.Glacier |
| 97 | p.MaterialVariant = "2022 Stud" |
| 98 | p.Anchored = true |
| 99 | p.Parent = model |
| 100 | end |
| 101 | do |
| 102 | local p = Instance.new("Part") |
| 103 | p.Shape = Enum.PartType.Cylinder |
| 104 | p.Name = "Branch1_Seg1" |
| 105 | p.Size = Vector3.new(4.15331, 1.4, 1.4) |
| 106 | p.CFrame = CFrame.new(-1.75, 5, 0.5) * CFrame.Angles(math.rad(-180), math.rad(-15.9454), math.rad(-151.214)) |
| 107 | p.BrickColor = BrickColor.new("Dark taupe") |
| 108 | p.Material = Enum.Material.Glacier |
| 109 | p.MaterialVariant = "2022 Stud" |
| 110 | p.Anchored = true |
| 111 | p.Parent = model |
| 112 | end |
| 113 | do |
| 114 | local p = Instance.new("Part") |
| 115 | p.Shape = Enum.PartType.Cylinder |
| 116 | p.Name = "Branch1_Seg2" |
| 117 | p.Size = Vector3.new(3.39116, 1, 1) |
| 118 | p.CFrame = CFrame.new(-5, 6.75, 1.25) * CFrame.Angles(math.rad(-180), math.rad(-9.46232), math.rad(-153.748)) |
| 119 | p.BrickColor = BrickColor.new("Dark taupe") |
| 120 | p.Material = Enum.Material.Glacier |
| 121 | p.MaterialVariant = "2022 Stud" |
| 122 | p.Anchored = true |
| 123 | p.Parent = model |
| 124 | end |
| 125 | do |
| 126 | local p = Instance.new("Part") |
| 127 | p.Shape = Enum.PartType.Cylinder |
| 128 | p.Name = "Branch1_Tip" |
| 129 | p.Size = Vector3.new(1.87083, 0.4, 0.4) |
| 130 | p.CFrame = CFrame.new(-7.25, 8, 1.75) * CFrame.Angles(math.rad(-180), math.rad(-18.4349), math.rad(-147.688)) |
| 131 | p.BrickColor = BrickColor.new("Beige") |
| 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.Shape = Enum.PartType.Cylinder |
| 140 | p.Name = "Branch1_Sub" |
| 141 | p.Size = Vector3.new(2.69258, 0.6, 0.6) |
| 142 | p.CFrame = CFrame.new(-2.75, 4.5, 1.5) * CFrame.Angles(math.rad(-180), math.rad(-53.1301), math.rad(158.199)) |
| 143 | p.BrickColor = BrickColor.new("Dark taupe") |
| 144 | p.Material = Enum.Material.Glacier |
| 145 | p.MaterialVariant = "2022 Stud" |
| 146 | p.Anchored = true |
| 147 | p.Parent = model |
| 148 | end |
| 149 | do |
| 150 | local p = Instance.new("Part") |
| 151 | p.Shape = Enum.PartType.Cylinder |
| 152 | p.Name = "Branch1_SubTip" |
| 153 | p.Size = Vector3.new(1.5, 0.3, 0.3) |
| 154 | p.CFrame = CFrame.new(-4, 3.75, 3) * CFrame.Angles(math.rad(-180), math.rad(-45), math.rad(160.529)) |
| 155 | p.BrickColor = BrickColor.new("Beige") |
| 156 | p.Material = Enum.Material.Glacier |
| 157 | p.MaterialVariant = "2022 Stud" |
| 158 | p.Anchored = true |
| 159 | p.Parent = model |
| 160 | end |
| 161 | do |
| 162 | local p = Instance.new("Part") |
| 163 | p.Shape = Enum.PartType.Cylinder |
| 164 | p.Name = "Branch2_Seg1" |
| 165 | p.Size = Vector3.new(4.38748, 1.36, 1.36) |
| 166 | p.CFrame = CFrame.new(2, 5.75, -0.5) * CFrame.Angles(math.rad(0), math.rad(14.0362), math.rad(19.9916)) |
| 167 | p.BrickColor = BrickColor.new("Dark taupe") |
| 168 | p.Material = Enum.Material.Glacier |
| 169 | p.MaterialVariant = "2022 Stud" |
| 170 | p.Anchored = true |
| 171 | p.Parent = model |
| 172 | end |
| 173 | do |
| 174 | local p = Instance.new("Part") |
| 175 | p.Shape = Enum.PartType.Cylinder |
| 176 | p.Name = "Branch2_Seg2" |
| 177 | p.Size = Vector3.new(3.39116, 1, 1) |
| 178 | p.CFrame = CFrame.new(5.5, 7.25, -1.25) * CFrame.Angles(math.rad(0), math.rad(9.46232), math.rad(26.2524)) |
| 179 | p.BrickColor = BrickColor.new("Dark taupe") |
| 180 | p.Material = Enum.Material.Glacier |
| 181 | p.MaterialVariant = "2022 Stud" |
| 182 | p.Anchored = true |
| 183 | p.Parent = model |
| 184 | end |
| 185 | do |
| 186 | local p = Instance.new("Part") |
| 187 | p.Shape = Enum.PartType.Cylinder |
| 188 | p.Name = "Branch2_Tip" |
| 189 | p.Size = Vector3.new(1.87083, 0.4, 0.4) |
| 190 | p.CFrame = CFrame.new(7.75, 8.5, -1.75) * CFrame.Angles(math.rad(0), math.rad(18.4349), math.rad(32.3115)) |
| 191 | p.BrickColor = BrickColor.new("Beige") |
| 192 | p.Material = Enum.Material.Glacier |
| 193 | p.MaterialVariant = "2022 Stud" |
| 194 | p.Anchored = true |
| 195 | p.Parent = model |
| 196 | end |
| 197 | do |
| 198 | local p = Instance.new("Part") |
| 199 | p.Shape = Enum.PartType.Cylinder |
| 200 | p.Name = "Branch2_Sub" |
| 201 | p.Size = Vector3.new(2.60384, 0.6, 0.6) |
| 202 | p.CFrame = CFrame.new(6, 8.35, -0.85) * CFrame.Angles(math.rad(0), math.rad(-34.992), math.rad(62.0442)) |
| 203 | p.BrickColor = BrickColor.new("Dark taupe") |
| 204 | p.Material = Enum.Material.Glacier |
| 205 | p.MaterialVariant = "2022 Stud" |
| 206 | p.Anchored = true |
| 207 | p.Parent = model |
| 208 | end |
| 209 | do |
| 210 | local p = Instance.new("Part") |
| 211 | p.Shape = Enum.PartType.Cylinder |
| 212 | p.Name = "Branch2_SubTip" |
| 213 | p.Size = Vector3.new(1.15758, 0.3, 0.3) |
| 214 | p.CFrame = CFrame.new(6.75, 10, -0.35) * CFrame.Angles(math.rad(0), math.rad(-30.9638), math.rad(59.7537)) |
| 215 | p.BrickColor = BrickColor.new("Beige") |
| 216 | p.Material = Enum.Material.Glacier |
| 217 | p.MaterialVariant = "2022 Stud" |
| 218 | p.Anchored = true |
| 219 | p.Parent = model |
| 220 | end |
| 221 | do |
| 222 | local p = Instance.new("Part") |
| 223 | p.Shape = Enum.PartType.Cylinder |
| 224 | p.Name = "Branch3_Seg1" |
| 225 | p.Size = Vector3.new(4.1833, 1.16, 1.16) |
| 226 | p.CFrame = CFrame.new(-1.5, 8.75, -0.75) * CFrame.Angles(math.rad(-180), math.rad(26.5651), math.rad(-143.301)) |
| 227 | p.BrickColor = BrickColor.new("Dark taupe") |
| 228 | p.Material = Enum.Material.Glacier |
| 229 | p.MaterialVariant = "2022 Stud" |
| 230 | p.Anchored = true |
| 231 | p.Parent = model |
| 232 | end |
| 233 | do |
| 234 | local p = Instance.new("Part") |
| 235 | p.Shape = Enum.PartType.Cylinder |
| 236 | p.Name = "Branch3_Seg2" |
| 237 | p.Size = Vector3.new(3.67423, 0.8, 0.8) |
| 238 | p.CFrame = CFrame.new(-4.25, 11.25, -2) * CFrame.Angles(math.rad(-180), math.rad(21.8014), math.rad(-137.124)) |
| 239 | p.BrickColor = BrickColor.new("Dark taupe") |
| 240 | p.Material = Enum.Material.Glacier |
| 241 | p.MaterialVariant = "2022 Stud" |
| 242 | p.Anchored = true |
| 243 | p.Parent = model |
| 244 | end |
| 245 | do |
| 246 | local p = Instance.new("Part") |
| 247 | p.Shape = Enum.PartType.Cylinder |
| 248 | p.Name = "Branch3_Tip" |
| 249 | p.Size = Vector3.new(2.17945, 0.4, 0.4) |
| 250 | p.CFrame = CFrame.new(-6.25, 13.25, -2.75) * CFrame.Angles(math.rad(-180), math.rad(18.4349), math.rad(-136.508)) |
| 251 | p.BrickColor = BrickColor.new("Beige") |
| 252 | p.Material = Enum.Material.Glacier |
| 253 | p.MaterialVariant = "2022 Stud" |
| 254 | p.Anchored = true |
| 255 | p.Parent = model |
| 256 | end |
| 257 | do |
| 258 | local p = Instance.new("Part") |
| 259 | p.Shape = Enum.PartType.Cylinder |
| 260 | p.Name = "Branch3_Sub" |
| 261 | p.Size = Vector3.new(2.73861, 0.56, 0.56) |
| 262 | p.CFrame = CFrame.new(-1.75, 10.25, -1.5) * CFrame.Angles(math.rad(0), math.rad(63.4349), math.rad(65.9052)) |
| 263 | p.BrickColor = BrickColor.new("Dark taupe") |
| 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.Shape = Enum.PartType.Cylinder |
| 272 | p.Name = "Branch3_SubTip" |
| 273 | p.Size = Vector3.new(1.60935, 0.3, 0.3) |
| 274 | p.CFrame = CFrame.new(-1.35, 12.25, -2.25) * CFrame.Angles(math.rad(0), math.rad(59.0362), math.rad(68.7574)) |
| 275 | p.BrickColor = BrickColor.new("Beige") |
| 276 | p.Material = Enum.Material.Glacier |
| 277 | p.MaterialVariant = "2022 Stud" |
| 278 | p.Anchored = true |
| 279 | p.Parent = model |
| 280 | end |
| 281 | do |
| 282 | local p = Instance.new("Part") |
| 283 | p.Shape = Enum.PartType.Cylinder |
| 284 | p.Name = "Branch4_Seg1" |
| 285 | p.Size = Vector3.new(3.84057, 1.2, 1.2) |
| 286 | p.CFrame = CFrame.new(1.25, 9.75, 0.75) * CFrame.Angles(math.rad(0), math.rad(-30.9638), math.rad(40.6129)) |
| 287 | p.BrickColor = BrickColor.new("Dark taupe") |
| 288 | p.Material = Enum.Material.Glacier |
| 289 | p.MaterialVariant = "2022 Stud" |
| 290 | p.Anchored = true |
| 291 | p.Parent = model |
| 292 | end |
| 293 | do |
| 294 | local p = Instance.new("Part") |
| 295 | p.Shape = Enum.PartType.Cylinder |
| 296 | p.Name = "Branch4_Seg2" |
| 297 | p.Size = Vector3.new(3, 0.8, 0.8) |
| 298 | p.CFrame = CFrame.new(3.5, 12, 2) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(41.8103)) |
| 299 | p.BrickColor = BrickColor.new("Dark taupe") |
| 300 | p.Material = Enum.Material.Glacier |
| 301 | p.MaterialVariant = "2022 Stud" |
| 302 | p.Anchored = true |
| 303 | p.Parent = model |
| 304 | end |
| 305 | do |
| 306 | local p = Instance.new("Part") |
| 307 | p.Shape = Enum.PartType.Cylinder |
| 308 | p.Name = "Branch4_Tip" |
| 309 | p.Size = Vector3.new(1.87083, 0.4, 0.4) |
| 310 | p.CFrame = CFrame.new(5, 13.75, 2.75) * CFrame.Angles(math.rad(0), math.rad(-26.5651), math.rad(53.3008)) |
| 311 | p.BrickColor = BrickColor.new("Beige") |
| 312 | p.Material = Enum.Material.Glacier |
| 313 | p.MaterialVariant = "2022 Stud" |
| 314 | p.Anchored = true |
| 315 | p.Parent = model |
| 316 | end |
| 317 | do |
| 318 | local p = Instance.new("Part") |
| 319 | p.Shape = Enum.PartType.Cylinder |
| 320 | p.Name = "Branch4_Sub" |
| 321 | p.Size = Vector3.new(2.69258, 0.6, 0.6) |
| 322 | p.CFrame = CFrame.new(2.25, 11, 0.5) * CFrame.Angles(math.rad(0), math.rad(33.6901), math.rad(47.9689)) |
| 323 | p.BrickColor = BrickColor.new("Dark taupe") |
| 324 | p.Material = Enum.Material.Glacier |
| 325 | p.MaterialVariant = "2022 Stud" |
| 326 | p.Anchored = true |
| 327 | p.Parent = model |
| 328 | end |
| 329 | do |
| 330 | local p = Instance.new("Part") |
| 331 | p.Shape = Enum.PartType.Cylinder |
| 332 | p.Name = "Branch4_SubTip" |
| 333 | p.Size = Vector3.new(1.87083, 0.3, 0.3) |
| 334 | p.CFrame = CFrame.new(3.5, 12.75, -0.25) * CFrame.Angles(math.rad(0), math.rad(26.5651), math.rad(53.3008)) |
| 335 | p.BrickColor = BrickColor.new("Beige") |
| 336 | p.Material = Enum.Material.Glacier |
| 337 | p.MaterialVariant = "2022 Stud" |
| 338 | p.Anchored = true |
| 339 | p.Parent = model |
| 340 | end |
| 341 | do |
| 342 | local p = Instance.new("Part") |
| 343 | p.Shape = Enum.PartType.Cylinder |
| 344 | p.Name = "BrokenBranch1" |
| 345 | p.Size = Vector3.new(1.73205, 0.8, 0.8) |
| 346 | p.CFrame = CFrame.new(0.5, 6.5, 1.5) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(35.2644)) |
| 347 | p.BrickColor = BrickColor.new("Dark taupe") |
| 348 | p.Material = Enum.Material.Glacier |
| 349 | p.MaterialVariant = "2022 Stud" |
| 350 | p.Anchored = true |
| 351 | p.Parent = model |
| 352 | end |
| 353 | do |
| 354 | local p = Instance.new("Part") |
| 355 | p.Shape = Enum.PartType.Cylinder |
| 356 | p.Name = "BrokenBranch1_Inner" |
| 357 | p.Size = Vector3.new(0.34641, 0.7, 0.7) |
| 358 | p.CFrame = CFrame.new(1.123094, 7.123094, 2.123094) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(35.2644)) |
| 359 | p.BrickColor = BrickColor.new("Burnt Sienna") |
| 360 | p.Material = Enum.Material.Glacier |
| 361 | p.MaterialVariant = "2022 Stud" |
| 362 | p.Anchored = true |
| 363 | p.Parent = model |
| 364 | end |
| 365 | do |
| 366 | local p = Instance.new("Part") |
| 367 | p.Shape = Enum.PartType.Cylinder |
| 368 | p.Name = "BrokenBranch2" |
| 369 | p.Size = Vector3.new(1.57797, 0.7, 0.7) |
| 370 | p.CFrame = CFrame.new(-0.5, 10, -1.15) * CFrame.Angles(math.rad(-180), math.rad(34.992), math.rad(-140.675)) |
| 371 | p.BrickColor = BrickColor.new("Dark taupe") |
| 372 | p.Material = Enum.Material.Glacier |
| 373 | p.MaterialVariant = "2022 Stud" |
| 374 | p.Anchored = true |
| 375 | p.Parent = model |
| 376 | end |
| 377 | do |
| 378 | local p = Instance.new("Part") |
| 379 | p.Shape = Enum.PartType.Cylinder |
| 380 | p.Name = "BrokenBranch2_Inner" |
| 381 | p.Size = Vector3.new(0.34641, 0.6, 0.6) |
| 382 | p.CFrame = CFrame.new(-1.1, 10.6, -1.6) * CFrame.Angles(math.rad(-180), math.rad(45), math.rad(-144.736)) |
| 383 | p.BrickColor = BrickColor.new("Burnt Sienna") |
| 384 | p.Material = Enum.Material.Glacier |
| 385 | p.MaterialVariant = "2022 Stud" |
| 386 | p.Anchored = true |
| 387 | p.Parent = model |
| 388 | end |
| 389 | model.PrimaryPart = model:FindFirstChild("TrunkBase") |
| 390 | print("DeadTree built: " .. #model:GetChildren() .. " parts") |
Loading comments...