I have it set up but it won't work, can you guys please help Here it is:
click = false function onClick() if click() == true then script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-215.1, 1.5, 950.3) script.Parent.Text = "AFK" click = true elseif click == true then script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(61.24, -1977.74, 0.005) script.Parent.Text = "BACK" click = false end end script.Parent.MouseButton1Click:connect(onClick)