im making a simple system where you can cut down trees. I am using number values for the trees durability and max durability. It will also have a simple gui to show the durability of the tree.
Would having a seperate script inside every tree for both the server and client sided things be more efficient or would it be better to try and run the code for all trees inside a singular script?
also if the latter. How could i do that for all the gui? should i run it with a server script (the game is singleplayer only so it doesnt matter much) or run all the gui stuff in a local script (and if so, where would be the best place to put it?)