I'm trying to make my game as exploit-free as I can, and I have a button that changes the player's health and walkspeed. It's a local script as it refers to the local player, and I was just wondering if it would be safe for me to change the health of the local player in a local script, and if an exploiter could somehow abuse this?
✓ ANSWER ACCEPTED
Is it safe to change health of localplayer in local scripts from exploiters?
1 answer
✓ Accepted answer
If your game has Filtering on, the changes to your player's health won't be replicated to the server if you do it with a LocalScript. The only proper way to change a player's health with FilteringEnabled is with a server Script.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Oh I see, thanks for letting me know!