Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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

Log in to vote
0
Answered by
chomboghai 2044 Moderation Voter Community Moderator
5 years ago

On line 4, change => to >=.

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

Hope this helps! :)

Ad

Answer this question