Well, I'm making a game that when you cut a tree you'll win XP. but I do not know how I do it, I can chop the tree and split it into several parts, but I want you to only gain XP when you "kill" the tree, like an RPG. I have a BoolValue in the tree model named "Dead" and another called IntValue "Life", when Life.Value <0, then the tree drops and is able to cut it. and the value "Dead" comes true, but I do not know what I should do now. I would appreciate any help. Yes, FE is enabled.
COMMUNITY QUESTION
Fire a single event when value is 0?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Put in the system that is removing the value of life to check that when it is less than one, call a function or fire the server with the xp info to add