Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make my stamina system "exploit proof"?

Asked by 4 years ago

So I have a stamina system and yea.. It relies on the "stamina's text" to actually know when to run or not run. I've been thinking that a player can alter the stamina GUI's text and make it have unlimited sprint.

How do I make it exploit proof?

Do I check on the server that it has enough stamina to sprint then allow them to sprint if so? Or is there any way on the client to make it fool-proof?

Thanks for viewing this!

0
Don't rely on the gui's text to see what the player's stamina is. Players can edit their gui's text. What they can't edit are variables or object values. royaltoe 5144 — 4y
0
Anything on the server the player can't change so remember to make all checks on the server. royaltoe 5144 — 4y
0
Thank you! 123nabilben123 499 — 4y

Answer this question