I know how to call a function when a player joins the game, but how do I save an IntValue to a character so they can save their amount of something and keep that amount whenever they join back? (For example, an amount of money being 100 and saving it for the next time they get back on the world) Here's what I have right now: game.Players.PlayerAdded:Connect(function(plr)
end)
btw, this script is in my Workspace not ServerScriptService, if that matters.

2 comments
You would want to use data stores.
itz_rennox thx! That link was super-useful!