I need help with the Kills And Wipeouts so i can make the leaderboard into it. I have the leaderboard done and it worked:

game.Players.PlayerAdded:Connect(function(player)
	local stats = Instance.new("Folder", player)
	stats.Name = "leaderstats"
	
	local kills = Instance.new("IntValue", stats)
	kills.Name = "KOs"
	kills.Value = 0
	
	local wipeouts = Instance.new("IntValue", stats)
	wipeouts.Name = "Wipeouts"
	wipeouts.Value = 0
end)

5 comments

0

You'll have to figure that out on your own. Also, if you care about performance in your game, I wouldn't recommend using the parent argument to Instance.new.

0

I don't think ROBLOX actually records who killed who. I mean think about it, Sometimes weapons create a part with a script in it that kills in the workspace, ROBLOX would have to remember who created the part, who created the script in the part, and the precise reason the character died. Your weapon has to do that

0

Weapons could do KO , like OBenjOne said , and Char.Died could do WO. Good luck ;)

0

It won't work with the character died thing

0

and the KOs