1 | button = script.Parent |
2 |
3 | function onClicked(GUI) |
4 | window:remove() |
5 | end |
6 | script.Parent.MouseButton 1 Down:connect( function () |
7 | game.Players.LocalPlayer.Character:TakeDamage( 100 ) |
8 |
9 | end ) |
The GUI is a reset button. It's supposed to make you take 100 damage when you click it (Obviously; that's what a reset button does). Nothing happens when I click it.
I figured out how to make a button teleport you, but I already made the decal with the word "Reset" on it. :P