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!
For leaderboards its a regular script and you can put in server scripts
01 | local players = game:GetService( "Players" ) |
02 |
03 | players.PlayerAdded:Connect( function (player) |
04 |
05 | local leaderstats = Instance.new( "Folder" ,player) |
06 | leaderstats.Name = "leaderstats" --must be lowercase |
07 |
08 | local kills = Instance.new( "IntValue" ,leaderstats) |
09 | kills.Name = "Kills" |
10 | kills.Value = 0 |
11 |
12 | end ) |
For the other part I have a script at home if someone doesn't answer before then.