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

The error says on the consol Expected 'then' got '=' Help?

I get the error on the title. I'm not sure what this error means or anything. If you know then answer the question. If you fix it will gain reputation. Here is the code:

local Frame = script.Parent.Parent.Frame
script.Parent.MouseButton1Click:Connect(function()
Frame.Visible = true	
if game.Players.LocalPlayer.leaderstats.Jumps.Value => 50 then
print("Nothing") --Just saying I am adding auchall code to this line but I need to figure out the error above first.
end
end)

1 answer

✓ Accepted answer

On line 4, change => to >=.

The greater than or equal to operator is denoted as >=.

Hope this helps! :)

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