Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Kill leaderboard using weapons with Auto Save?

I have googled, youtubed, devforum, and have I still have no idea how to do this. I have a game created. I am wanting to a kills leaderboard with auto save. I have no idea how to put the script in on the weapons and the players. PLEASE HELP!! I am new to this. I am even willing to pay to Robux to help with this. Thank you in advance!

2 comments

0

Do you have the leaderboards already setup?

0

No, I sure don't

1 answer

✓ Accepted answer

For leaderboards its a regular script and you can put in server scripts

local players = game:GetService("Players")

players.PlayerAdded:Connect(function(player)

local leaderstats = Instance.new("Folder",player)
leaderstats.Name = "leaderstats" --must be lowercase

local kills = Instance.new("IntValue",leaderstats)
kills.Name = "Kills"
kills.Value = 0

end)

For the other part I have a script at home if someone doesn't answer before then.

3 comments

0

Omg....you are going to be a lifesaver

This discussion is preserved as it was. New answers, comments, and votes are closed.