I want to save the variable sentenceTime to a player, and have the variable stay with the player, even if they leave the game or respawn.
How it is being used is when they are arrested, they get their time in seconds, and each second it goes down by one, and their time saves, whether they leave the game or die. How would I do this?

1 comment
I would suggest looking into DataStores, the PlayerRemoving Event, and the BindToClose function. https://scriptinghelpers.org/questions/27426/how-to-use-datastores#30949 http://wiki.roblox.com/index.php?title=API:Class/DataModel/BindToClose http://wiki.roblox.com/index.php?title=API:Class/Players/PlayerRemoving