Hey scriptinghelpers I don't really know how else to ask this but, how do I add to leaderstats when a player kills another player? For example if Builderman kills Telamon add +100 to Builderman's leaderstats (leaderboard). I don't know if you need a sample code so I didn't provide one since its a basic leaderboard and, I'm using the "Sword" tool by ROBLOX. Thank you for the help in advance, I appreciate it!
So if you're using the default roblox leaderboard system then you can just put a folder inside the player and name it "leaderstats", and then whatever values you put in there will be displayed. So say for instance I put an IntValue in that folder and call it "Coins". It'll show "Coins" and underneath it'll show the value for that. In this case it'd be set to 0 since it hasn't been set yet.