I'm working on a small project with a focus of dying a bunch, so I need a leader-board that counts down how many times a player has died.
✓ ANSWER ACCEPTED
How do I make a leader-board counting down deaths in a game?
1 answer
✓ Accepted answer
Learn about leaderboard creating here: https://developer.roblox.com/en-us/articles/Leaderboards
As for the deaths, you can set a player's death count by using the Humanoid.Died event.
For example,
plr=game.Players.LocalPlayer leaderstats=Instance.new('Folder',plr) deaths=Instance.new('IntValue',leaderstats) deaths.Name='Deaths' deaths.Value=0 char=plr.Character hum=char:FindFirstChild'Humanoid' if char and hum then hum.Died:connect(function() deaths.Value=deaths.Value+1 end end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Dont post request questions, they'll probably be removed. However just create a folder and an int value and then shortly afterwards increase the int value using the Died event via player's humanoid.