I've asked well known developers and never received an answer. Does anyone on Scripting Helpers know? Basically, it's preventing IntValue's from being changed using Cheatengine or any other 3rd party software.
I'm not going to make the script for you.. But connect a while true do to your script.. Incase a player tries to hack it.. It will change the new value to their current.. OR Keep two values.. One for show, and one for the hidden. The hidden will be the main.. And the shown one will be the clone of the hidden. Basically the shown one will be on the leaderboard.. The hidden one can stay in the character. Hidden one can replicate the one in the player.