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

How to fix this error? clicksPopUp:31: Expected ')' (to close '(' at line 29), got 'Enum'

Asked by 2 years ago

So i got my script, im a new dev and i dont know how to fix this:

code: clicksPopUp:TweenSize( UDim2.new(0.237,0,0.102,0) Enum.EasingDirection.Out, Enum.EasingStyle.Back, 0.5, false, nil )

error: Players.ThijnGamerYT.PlayerScripts.clicksPopUp:31: Expected ')' (to close '(' at line 29), got 'Enum'

1 answer

Log in to vote
0
Answered by
xXMadonXx 190
2 years ago
Edited 2 years ago

You forgot a comma between the UDim2 and the EasingDirection. Also next time please use the Luau codeblocks as they are easier to read (Lua button above the text field).

clicksPopUp:TweenSize(UDim2.new(0.237,0,0.102,0),Enum.EasingDirection.Out, Enum.EasingStyle.Back, 0.5, false, nil)
0
Tysm, it worked! and what do you mean with the lua codeblock, do you mean in roblox? since i cant find it there. But thanks for ur answer ThijnGamerYT 13 — 2y
0
As you can see the code i have in the answer is colored and has the number of the line of code next to it. It is also in different colors. I meant it for this website. As soon as you have a lot of Lines of code it is going to be hard to read and find the error without opening a program and copy-pasting. xXMadonXx 190 — 2y
0
Oh now i understand, thanks for the help! ThijnGamerYT 13 — 2y
Ad

Answer this question