game.Players.PlayerAdded:Connect(function(player)

local ls = Instance.new("Folder",player)

ls.Name = "leaderstats"

local money = Instance.new("IntValue",ls)

money.Name = "Money"

local cc = Instance.new("IntValue",player)

cc.Name = "CashCollected"

local robbing = Instance.new("BoolValue",player)

robbing.Name = "Robbing"

robbing.Value = false

player.CharacterAdded:Connect(function(char)

player.Robbing.Value = false

player.CashCollected.Value = 0

end)

end)

Thats the script. I need somebody to make it save for me without removing main parts of it. It is for a robbing game.