So my problem is that I need to save the amount of money that a player has so that when the player joins again the player's money will be saved. This is my code, any help would be appreciated.
local function addBoard(player)
local board = Instance.new("Folder", player)
board.Name = "leaderstats"
local money = Instance.new("IntValue", board)
money.Name = "Money"
end
game.Players.PlayerAdded:Connect(addBoard)

2 comments
You can do that with datastores. I recommend you to watch some videos on youtube about Datastores.
umm thats what i wanna know