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 4 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 — 4y
0
No, I sure don't Pho3nix_OP 2 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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

01local players = game:GetService("Players")
02 
03players.PlayerAdded:Connect(function(player)
04 
05local leaderstats = Instance.new("Folder",player)
06leaderstats.Name = "leaderstats" --must be lowercase
07 
08local kills = Instance.new("IntValue",leaderstats)
09kills.Name = "Kills"
10kills.Value = 0
11 
12end)

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 — 4y
Ad

Answer this question