adminGame = game.StarterGui.AdminGUI.AdminGame
game.StarterGui.MouseButton1Click:connect(function(kill)
if adminGame.MouseButton1Click == true then
local game.Players.Humanoid.Health = 0
else
adminGame.MouseButton1Click = false
end
end)
It's not working. What it does is when I press the TextButton (AdminGame), all the players die in game. I seem to got the pressing button part right, but no player dies. Help?
