Hey, hi, hello! I’ve been having a spike of motivation for a game I’m working on and I have some questions which can hopefully be answered.
The basic premise is that you chop down trees, sell your wood, make money, unlock new areas and upgrade your axe. Though it sounds simulator-like, I have no plans of adding pets or any P2W elements to the game. It’s supposed to be a rather chill game.
Anyway, I have a couple questions regarding my tree chopping system. It is server-sided and client-sided if you are curious.
-
When you destroy a tree, it removes the tag “Tree” from CollectionService, adds velocity to the PrimaryPart and then after 3 seconds, gets removed from the game. It then awards the player a certain amount of wood which is specified by a IntValue in the tree. I would like to know, it is a good idea to handle all of what I said above in the tool? If it isn’t, please let me know what I could do.
-
The reason why I am instantly removing the tree from CollectionService is so that the player cannot get extra hits which would give them extra wood. The axe checks to see if the
mouseTarget
has the tag “Tree”. Is this a good method or should I be doing something completely different to prevent this? -
Having values inside of trees are ugly. Are you able to change the values of Attributes via script?
Thanks for reading and if you can, please respond! It would help out a ton. If there is anything I need to elaborate on so that you can understand better then please ask!