Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I Really Need Help With This AFK Tele Gui Script can you help?

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

0

Omg Please Help ;~;

1

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

0

oh xD

0

Please change the question to [ANSWERED]

0

How do I fix it? what do I remove?

0

k

0

the first answer didn't work

0

Can you just send me the fixed script to my roblox Please

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.