Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

LeaderBoard Save? Read desc [closed]

Asked by 5 years ago
Edited 5 years ago
    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.

Closed as Not Constructive by TheeDeathCaster

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?