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!
✓ ANSWER ACCEPTED
Kill leaderboard using weapons with Auto Save?
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
https://developer.roblox.com/en-us/articles/Leaderboards it's there too.
0
https://developer.roblox.com/en-us/articles/Data-store is for datastores
0
Omg....you are going to be a lifesaver
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Do you have the leaderboards already setup?
No, I sure don't