I want to make it so that when I enter a "StrengthBoostArea" which is a part, I get a x2 strength boost for every time I click while having my punch tool equipped, and when I leave the area, the boost goes away. I've already implemented the leaderstats and gaining +1 strength on click while having it equipped although I just need some guidance on how I can do this. Thanks
#Need help with an area boost
6 messages · Page 1 of 1 (latest)
Do you have a variable for the strength boost?
Yeah, this is my local script as a child of my punch tool in starter pack
It just doesn't really work when I enter the area, when I get 10 strength and test it, the number goes up by like 20-30, and goes back down.
First of all, you do not change the leaderstats values on the client. They have to be saved on the server side, otherwise the progress won't be seen or saved by the game.
Is that all I need to fix it?