Hey, I need a script so when the player clicks the Button in my gui, the player will die. I'm thinking it would be something like
function OnClicked()
local humanoid = game.Players.Player
humanoid = true
humanoid.Health = 0
end
(What I have so far) If there is any better ways to do the whole click detection, please let me know. Thanks!

1 comment
Cool Thanks!