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

How would I make a reset progress button for a obby? [closed]

Asked by 4 years ago
Edited 4 years ago

Hello! I want to make a button that resets your progress to stage 1. The button works by if you click it, it says "Are you sure?" and then if you click once more your leaderstats changes and it resets you.

Closed as Not Constructive by hiimgoodpack

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
Edited 4 years ago

Editing due to comment: You should make a button with a localscript that fires a remote when MouseButton1Down is fired. Then, in serverscriptservice make a script where when remote.OnServerEvent, it sets the player.leaderstats.Stage.Value to 0.

0
Hello! I want to make a button that resets your progress to stage 1. The button works by if you click it, it says "Are you sure?" and then if you click once more your leaderstats changes and it resets you. does this make more sense? legomonkeydoodle2 -5 — 4y
Ad