I tried making a sanity bar, and it worked, but theres a huge flaw. There is no way to get sanity back. So obviously I tried to make a tool that gives you more sanity, like food or phone or whatever. But I couldn't get it to work and I have no idea where to start. I don't want this to sound like a request because I have already tried but I deleted the script. Any help is appreciated
COMMUNITY QUESTION
How would I make a tool that resized gui on click?
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
If you want your game to be exploit-free in this regard, then you'll have to store each Players' sanity state on the Server. Use a RemoteEvent to invoke a UI update each time it's adjusted. You can program the Tool with a Server-sided Script, which you can set up a BindableEvent to increment the sanity.