Cuffs UI buttons

I used the tutorial to make Cuffs, everything works but I want to add buttons to release the player or to jail the player, how could I do that?

You need to create a screenGui, then detect when the cuffs have been activated, put the UI on screen, detect when the button is clicked and then teleport the player either to spawn or to jail.


Could you maybe give me an example please?
I’m really new to scripting so I’m not that good yet.

I currently have this:
Cuff tool, when you hold it, the GUI appears, when you stop holding the cuffs, it’s gone.

Good work, you’re going to have to try and create this yourself. (We’re here to help when there is a bug), you should look into player teleportation and detecting on mouse button clicks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.