Well I dont exactly know how if you would want it to have an animation.
tree lopping cost maitland stumpcutting.bard:connect(hit) if stumpcutting.bar =="Tree" then stumpcutting.bar = stumpcutting.bar - 1 end end This line of code is assuming your tool has a blade.
It also assumes you named the tree model"Tree" if what you hit is a tree then it runs the damage line. Mar 13, Fall Damage Script (ROBLOX) In StarterGUI. TheCoderOfCodes. Mar 13th, 1, Never. Not a member of Pastebin yet? Sign Up, it unlocks many cool features! text KB. raw download clone embed print report. local player = stumpcutting.barlayer local character = stumpcutting.barter.
Jul 21, Explanation: Weld a part to another, when it’s time to break, unweld the parts, then add a velocity to the part you want to make fall over. 2 Likes. Bloxrrey July 20,pm #5. Maybe make the tree have around five parts welded together, when the player cuts the tree, detect which part the player hit and where the closest surface of. stumpcutting.bar is the number one paste tool since Pastebin is a website where you can store text online for a set period of time.
Dec 14, well falling tree changed into trunk. but it may drop on the same place. some kind like that, make 2 health (m_chopDown and m_chopDown2) and changes the falling tree into trunk. i'm not good at scripting, still learn, you may fix it with some idea, hope it help oh, try make it on new script.
and put it on falling tree prefab. then you should have trunk prefab. how is it?Missing: roblox.