Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I reset leaderstats on death? [closed]

Asked by 4 years ago

Making game and I need there Points to reset when they die but I don't know how to do it.

0
You do realise that ScriptingHelpers is not a request site. Simply requesting for a script and not even describing your aim well is not allowed JeffTheEpicRobloxian 258 — 4y
0
You’ll probably get your question moderated JeffTheEpicRobloxian 258 — 4y
0
i need help Koley_Moley -7 — 4y
0
i already tried to make one but I could'nt Koley_Moley -7 — 4y

Closed as Not Constructive by WideSteal321 and Dovydas1118

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago

Under the humanoid, there is a "Died" event. You can connect a function to this event that sets all your data to the defaults.

Here is an example of the died event:

https://www.youtube.com/watch?v=PJgBNLCFyc0

Ad