How it works...
1: When the player presses enter or the send button, the client fires a remote event that tells the server that someone has chatted.
2: The server checks if the player can send a message (spam prevention)
3: The server loops through all the players, fitlers it and sends it to each player using
:FireClient(). You can read about why I did each player individually instead of
4: The client receives the event, clones a template, tweens the other frames and then tweens the cloned template.
1: Move “ChatServer” to ServerScriptService
2: Move “ChatEvent” to ReplicatedStorage
3: Move “CustomChat” to StarterGui
4: Edit the configuration in the “ChatServer” script
4: Add “Our game uses Winky_y’s Custom Chat” to your game description (Optional but appreciated)
Have fun, and happy developing!