Hello, this is the OptimalChat page! OptimalChat is a script I made (it’s actually not that long, but I feel it can actually help new developers) to change how the chat window looks in your game!
Link
Long Description
OptimalChat is a great way to get your game looking great! Here are all the things you can do. Keep in mind you can disable any of these.
First is Bubble Chat, this one’s pretty simple, just turns on Bubble Chat
Second is Rounded Corners. This makes everything in the chat frame have rounded corners
Next is the best one. Dragging. Basically, you can drag the chat frame anywhere you want! (as long as where you’re trying to drag it isn’t off the screen). I’ve included a video! Also shown in this video is automatic scaling, it’ll do some math to approximate where the position last was, so it doesn’t go off the screen.
Another important feature is the window reset feature. Basically, whenever you close the chat window, it goes back to the original position.
Anyway, that’s all the features for now, hope you enjoy this script!
Future Updates
Planning to add gradient background for chat frame
Scaling Button
Emojis
If there are any bugs reported, I will fix those
Tutorial Video
Rights of Use
Feel free to use or edit this without crediting me, although crediting me would be great if you could. Please do not resell this for yourself, though, unless you make a change to it, and then credit me.
Conclusion
If you have anything to suggest for this script, or any problems, please reply and let me know! I’m going to be using this in my own game, so I would love to make sure there’s nothing wrong with it.
This is a lovely script! Very well made for what it is. Best part has to be that it is very simple!
The issue I found: Line 59. The script only changes the text box text to “Click here or / to chat” when chatFrameShouldDrag if set to true. Pretty sure that isn’t intentional.
Suggestions:
1) You should add “press” after the slash in “Click here or / to chat”.
2) Maybe a feature to disable the position reset on opening that the player can toggle instead of depending on a boolean they can’t control.
How would emojis look? You can already paste emojis into chat and it’ll show. Is there a possible way to add images to text like that with other images?
Some general ideas to make it look better/have more use!
Emoji System. Currently for PC, I don’t wanna look up or other emojis when I wanna use them in game, It’d be really awesome to se a built in emoji panel, similar to discord. Or, if possible, a :emoji_name: system, but that might be a bit over your reach
Change the three line icon. Currently, the black doesn’t look good at all. Use another color already found inside the chat window instead of the black to make it feel more like it’s part of the ROBLOX UI.
Quick Variables for Color Adjustment. If you were able to make this a module where developers are easily to configure colors/fonts, that’d be really nice! I know this is pretty easy to do manually, but I think It’d just be a nice complimentary feature for those who don’t wanna touch much scritps.
This is really good! I am totally using this for my game. Unlike some other people, I think it looks amazing and a lot cleaner than the regular chat window! Thanks @CheeseGodTheEpic!