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)

8 comments
Omg Please Help ;~;
Your problem is lines 4 and 8; You set both of them up to check if 'click' is true, and you set up line 4 for 'click' as a function. :P
oh xD
Please change the question to [ANSWERED]
How do I fix it? what do I remove?
k
the first answer didn't work
Can you just send me the fixed script to my roblox Please