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

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

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

✓ Accepted answer

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)

3 comments

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

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.

0

Oh now i understand, thanks for the help!

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