Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How To Make a Reset Progress GUI?

Ok, so in most obbies, there is a GUI that allows you to reset your progress. That means that when you click it, it will set your stage to one and make you start from the beginning.

What I know:

The code will access leaderstats and set the stage currency (Stage) to 1.

It will teleport the player's character to the first checkpoint. I can do that.

It will set the player's health to zero, simple.

I would seriously appreciate some help as this problem has actually put a lot of my projects on hold because I like releasing finished projects.

I have attempted to code this, but it didn't work. Maybe a few hints as to what I should do would help.

5 comments

0

At least make an attempt at this before coming to here to ask for code. We aren't supposed to just let you ask and provide you all the code you want.

0

I did make an attempt, it didn't work. Sorry for not stating that, I'll edit my question.

0

Well we can't just hand code to you .-.

0

Show me your code and I could point out what you may have done wrong and show you how to fix it.

0

mk

1 answer

✓ Accepted answer

https://developer.roblox.com/en-us/api-reference/event/GuiButton/MouseButton1Click ----- https://developer.roblox.com/en-us/articles/Leaderboards ----- https://developer.roblox.com/en-us/articles/How-to-teleport-within-a-Place ----- These should give you some general ideas of how to do so. Its up to you to read and learn from these guides to try and form a working code. Some of those are guides and explain the code and how it works. You could just copy and paste it and possibly get a working code, or, you could learn from each site and apply that knowledge into one function to teleport the player and reset his leaderstats when he clicks a gui. On a side-note, this site is meant for players to debug their code, not request them. Any other questions you have please provide some type of code to show that you are actually trying, as its easier for others to help you, afterall we do it for free.

This discussion is preserved as it was. New answers, comments, and votes are closed.