Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to script a Choppable Tree?

I want to have a script that allows me to collect resources from my tree model and get resources with every hit. If you could help me that would be great!

2 comments

1

Not a request site.

1

Scripting Helpers is not a request site. Please refrain from asking questions, without showing what you have tried, etc.

1 answer

Your avatar is making me not answer this question but here we go.

For the axe you could just use a regular tool or even a system (which is unnecessary but would look good) then you could insert a NumValue into the tree's trunk and a script that monitors it's value then detects when it's 0 (Basically a health system) then use events to transfer the data to an inventory system that then uses a table or some other method of memory to store your values or data.

This discussion is preserved as it was. New answers, comments, and votes are closed.