Hello.
I need a script like this.
By using an axe (2559) on a tree (2699) you will get an item (5901) in your backpack
BUT! There should be a math.random function, so you will have 30% chance of getting the item. If not, you hurt yourself with 50hp.
You will be 10 seconds exhausted, until you can cut again.
Thanks.
I need a script like this.
By using an axe (2559) on a tree (2699) you will get an item (5901) in your backpack
BUT! There should be a math.random function, so you will have 30% chance of getting the item. If not, you hurt yourself with 50hp.
You will be 10 seconds exhausted, until you can cut again.
Thanks.
Last edited: