First
function onClick()
script.Parent.Parent.Parent.Parent.Parent.leaderstats.Deaths.Value = 0
script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
script.Players.LocalPlayer.TeamColor = BrickColor.new("Institutional white")
end
script.Parent.MouseButton1Click:connect(onClick)
Second
disabled = false
script.Parent.MouseButton1Click:connect(function()
if disabled == false then
disabled = true
script.Parent.BackgroundColor3 = Color3.new(217, 0, 0)
game.Workspace.Teleport.RemoteFunction:InvokeServer()
wait(3)
script.Parent.BackgroundColor3 = Color3.new(0, 154, 0)
disabled = false
end
end)
(i have to put the script into a textbutton)
