Chat Scripts are having errors

Hello developers,

I have seemed to come across a problem in my game where the chat scripts show an error and therefore the chat does not load.

Here is the output:

Players.IAmPinleon.PlayerScripts.ChatScript.ChatMain.MessageLogDisplay:231: Expected ‘(’, ‘{’ or when parsing function call, got ‘:’

The line reads

self.MessageObjectLog[i].UpdateAnimFunction(dtSc:game:GetService("RunService").Heartbeat:Wait()rveUtil) 

This problem does not occur in any other games for me so I do not think this belongs in Bug Reports > Engine Bugs. I don’t know if this should go in Help and Feedback > Game Design Support either.

Other information includes this not working in Studio or In-Game, and some other modules experiencing an error when loading (This could also be the problem).

The code seems sketchy…

:Wait()rveUtil) 

It also is trying to do a function 2 times…

Sc:game:Ge

And that isn’t a string.

That line should say

self.MessageObjectLog[i].UpdateAnimFunction(dtScale, CurveUtil)
1 Like

I can now confirm this does not work with other games. I published the game to another game and the chat still does not work. Could this be a problem with lag overload? I really need to know.


Actually, I looked through a past version and I see the problem. I don’t know why it’s doing this now