game.ContextActionService:BindAction("keyPressenter", onKeyPress, false, Enum.KeyCode.Enter);
What is it expecting?
The error msg:
16:33:28.983 - Players.Player1.PlayerGui.Chat.Chatbar.Input.Chat:19: ')' expected near ';'
game.ContextActionService:BindAction("keyPressenter", onKeyPress, false, Enum.KeyCode.Enter);
What is it expecting?
The error msg:
16:33:28.983 - Players.Player1.PlayerGui.Chat.Chatbar.Input.Chat:19: ')' expected near ';'
I think that you may be thinking of Java or another programming language that ends statements with semicolons ";". Lua doesn't use semicolons like some other programming languages do to signify the end of a line of code. Taking out the ";" at the end of your line should fix it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Obviously a typo in the context
I don't know what the proper syntax to use this should be. Can you give me the corrrected version by any chance?