Syntax error: Expected identifier when parsing function name got ''local''

Can some one tell me how I can fix this?
Thanks!

The Error is Syntax error: Expected identifier when parsing function name got ‘‘local’’

1 Like

I need to edit it because studio did not show where the error was.

1 Like

Em, not a professional, but I can sort some things out.

Why did you add function at the end of the local variable textLabel? If you input function while it is a local variable, then studio will consider it as a variable, breaking the script.

2 Likes

2 Likes

Ohh, sorry I didn’t know that but thanks for helping me! :grinning:

2 Likes