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

Kill leaderboard using weapons with Auto Save?

Asked by 3 years ago

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!

0
Do you have the leaderboards already setup? iamajunky 20 — 3y
0
No, I sure don't Pho3nix_OP 2 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

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.

0
Omg....you are going to be a lifesaver Pho3nix_OP 2 — 3y
Ad

Answer this question