I made a LocalScript in StarterGui -> ScreenGui -> Frame -> TextButton:
if script.Parent.MouseButton1Click then game.Players.LocalPlayer.Character.Humanoid.Health = 0 end
I wanted to make a button on the screen and when you press it you die. I don't know where the problem is and it also didn't give an error. Nothing happened.
