Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it safe to change health of localplayer in local scripts from exploiters?

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?

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.

1 comment

0

Oh I see, thanks for letting me know!

This discussion is preserved as it was. New answers, comments, and votes are closed.