I only made a button to kill so you get points. but I dont want people to get to get points while being dead. What is wrong?
local debounce = false if debounce == false then debounce = true script.Parent.MouseButton1Click:Connect(function() wait(5) debounce = false end) end
local debounce = false if debounce == false then debounce = true script.Parent.MouseButton1Click:Connect(function() if game.Players.LocalPlayer.Character.Health <= 0 then return end else wait(5) debounce = false end) end