Better Chat [V1] BRANCH DISCONTINUED]

What do you mean the key to start typing, like “:”? If that’s what you mean, it’s in the settings. And can you elaborate on position / font?

And on setting it up, what did you do to set it up?

For the key to start typing, normally you have to press ‘/’ for it to start typing, and I was wondering if you could add the ability to change that key

for position, it’s where the chat box is located on the screen

font is what font is used in the chat

To set it up i put the chat thing in Chat and Settings in ReplicatedFirst

1 Like


It should be set up like this, and for your requests, I can add them to a to-do list.

Isn’t it unsafe to have the Settings in the Workspace? Wouldn’t it be a better idea to have it somewhere like SSS?

Oh, you can place it anywhere, just don’t move any of the items inside of it. Also, the folder is automatically destroyed once the game starts.

Patch v.1.0.1

  • You can now zoom through the emojis by holding down your up / down arrow keys.
  • Hovering over an emoji in the autofill menu will select it in the autofill.
  • Fixed the emoji-menu not opening sometimes.

Bug reports should go to PMs or the Discord.

EDIT: This came out last night, no idea why it’s just been posted.

1 Like

Update 1.0.3

New Features

  • Fixed RichText support for mobile
  • Added a custom key to open the chat support in settings
  • Added Chat Font configuration
  • Better chat UI drag function (toggleable via settings)
  • A few random settings to configure for the chat.

Notice

  • You will have to replace essentially all of the loader’s code for this update if you want to use the new features.
  • Report any bugs to the post or Toxic#2799.
2 Likes

I just tested it and it worked great!

1 Like

Hey this is a nice improved chat!
If I can suggest you something, you should add a “tag system” like in the forum when you @ and it hypercolor it and make a notification sound to the tagged player.

1 Like

I could probably create a system like that, it sounds like a cool concept. I’ll see what I can do tomorrow, a major update is coming in about 30 minutes.

1 Like

Update 1.0.4

  • Added live rich-text editor option to preview your rich text in the chatbar while typing it.
  • User individual permissions settings
  • User individual chat-tag settings
  • Added the ability to tab to autofill, options being (left arrow key, right arrow key + tab)
  • A few major bug fixes

Notice

  • You will have to replace essentially all of the loader’s code for this update if you want to use the new features. This update rewrote a large amount of the base, disabling previous versions. I’m going to try to stop doing that so much, but I can’t publish a fork of the chat, leaving you guys to install the chat folder yourselves.

Reporting bugs

  • Bugs are very critical to me, please report them as soon as you find them.
2 Likes

Got some bugs for you:

It does not look good with bubble chat:

Chat tags don’t work as expected:

My Code
--[[
	  ____       _   _               _____ _           _   
	 |  _ \     | | | |             / ____| |         | |  
	 | |_) | ___| |_| |_ ___ _ __  | |    | |__   __ _| |_ 
	 |  _ < / _ \ __| __/ _ \ '__| | |    | '_ \ / _` | __|
	 | |_) |  __/ |_| ||  __/ |    | |____| | | | (_| | |_ 
	 |____/ \___|\__|\__\___|_|     \_____|_| |_|\__,_|\__|
	                                                       
	By: likeajumpingpro
	Version: 1.0.2
	Description: Better-Chat is a simple utility that adds cool new features to the in-game chat.
	Source: https://www.roblox.com/library/6003123382/Emoji-Chat-Source-Code
	DevForum Post: https://devforum.roblox.com/t/better-chat-v-1-0-0-richtext-and-more/891385
	Support / Bug Report: Toxic#2799
	
]]

return {
	debug_mode = false; --> For developers, this will print out random data to let you know what's going on.
	ds_key = "emoji-chat_persistence"; --> Commonly used emojis will be saved to this datastore.
	
	permissions = { --> This is so you can give users specific chat permissions.
		ranks = { --> Simple rank system. Format: {ID,Name}
			{0,"Guest"},
			{1,"Premium"},
			{2,"Fan"},
			{3,"VIP"},
			{4,"Staff"},
			{5,"Owner"}
		},
		
		-- PREMIUM REWARDS:		
		premiumRank = "Premium"; --> Set to 0 to not give users with premium a rank.
		
		-- GROUPS:
		groups = {
			[7965416] = {
				[255] = "Owner", 
				[254] = "Staff", 
				[253] = "Staff", 
				[252] = "Staff", 
				[251] = "Staff", 
				[250] = "Fan", 
				[1] = "Fan", 

			}
		},
		
		users = {
		
		},
		
		-- GAMEPASSES:
		gamepasses = { --> Format: [gamepassId] = rank
			[13091505] = "VIP" --> Gamepass 13052425 will grant you "VIP"
		}
	},
	
	chat = { --> Default chat configuration
		chatTags = { --> Ex: [Admin] [Player1]: hello!
			[1] = {
				color = Color3.fromRGB(255,255,0),
				text = "Premium"
			},
			[2] = {
				color = Color3.fromRGB(0,255,255),
				text = "Fan"
			},
			[3] = {
				color = Color3.fromRGB(255,0,0),
				text = "VIP"
			},
			[4] = {
				color = Color3.fromRGB(85,255,0),
				text = "Staff"
			},
			[5] = {
				color = Color3.fromRGB(85,255,0),
				text = "Owner"
			},
		},
		
		chatTags_User =  {
			bindWithRankTags = true, --> Ex: [Admin][Cool] [Roblox]: hello!
			users = {
				["ROBLOX"] = {
					color = Color3.fromRGB(255,0,0),
					text = "Cool"
				},
			}
		},
		
		font = Enum.Font.Bodoni, --> The chat's primary font
		draggable = false, --> Do you want the chat to be draggable?
		showChannels_Bar = false, --> Channel bar above the chat
		me_command = true, --> ex: /me hello world
		window_position = UDim2.new(0,0,0,0), --> The chat window position.
		richtext_preview = true --> Preview your rich-text live in the chat bar?
	},
	
	richText = {		
		enabled = true, --> Add support for rich-text to the live-chat?
		configuration = { --> Assign permissions above.
			bold = "Guest", --> Example: "*bold*", only works with chat font set to "SourceSans".
			italics = "Guest", --> Example: "/italics/"
			strikethrough = "Guest", --> Example: "-strikethrough-"
			underline = "Guest", --> Example: "_underline_"
			color = "Guest", --> Example: "<Really red / This text will be red!>"
		}
	},
	
	client_configuration = {
		character = ":", --> The splitting character, ex :joy:
		aliases = {
			joy = {"laughing"} --> Adds :laughing: as an alias to :joy:
		},
		chatBind = Enum.KeyCode.Slash, --> The key that opens the in-game chat.
		shortcuts = { --> Shortcuts will automatically replace text in your chatbar to the specified text.
			enabled = true, --> Enable shortcuts?
			list = { --> Feel free to create your own, or remove existing ones.
				
				["/tableflip"] = "(╯°□°)╯︵ ┻━┻",
				["/unflip"] = "┬─┬ ノ( ゜-゜ノ)"
			}
		},
		
		emoji_menu = true --> If this is enabled, there'll be a little smiley face on your chat bar that you can click to open an emoji menu.
	}
};

Users who should be getting “Staff” are getting Premium…

1 Like

Bubble-chat is Roblox sided. We’ll have to wait for Roblox to enable Rich-Text support for chat bubbles before that can be fixed.

The chat-tag bug will be investigated though.

1 Like

Wait, you’re telling me you can’t modify ROBLOX bubble chat?
wow.

1 Like

A somewhat hacky method to get around this is stacking a couple of text labels on top of each other. The background needs to be transparent though, so if you need a background you can use a frame behind all the labels. This method also allows you to have bold and another effect, like bold italics.

Very well-designed system if I do say so myself. I’m glad that the basic roblox “hi im a boring text message” can become hi im a cool text message. Hope to see some more cool creations soon!

This is super cool! I’ll probably modify it a bit to have different syntax for text effects, but other than that this looks really impressive! Only issue is that the bubble chat isn’t modified, but thats not your fault anyway. Very nice work.

1 Like

Not the new and improved one, it’s core-based at the moment. Quite annoying to be honest.

1 Like

̶C̶o̶u̶l̶d̶n̶’̶t̶ ̶y̶o̶u̶,̶ ̶h̶y̶p̶o̶t̶h̶e̶t̶i̶c̶a̶l̶l̶y̶,̶ ̶j̶u̶s̶t̶ ̶s̶h̶u̶t̶ ̶i̶t̶ ̶o̶f̶f̶ ̶a̶n̶d̶ ̶m̶a̶k̶e̶ ̶y̶o̶u̶r̶ ̶o̶w̶n̶?̶
̶
̶I̶ ̶u̶n̶d̶e̶r̶s̶t̶a̶n̶d̶ ̶t̶h̶a̶t̶’̶s̶ ̶a̶ ̶l̶o̶t̶ ̶t̶o̶ ̶a̶s̶k̶ ̶o̶f̶ ̶j̶u̶s̶t̶ ̶y̶o̶u̶,̶ ̶I̶’̶m̶ ̶j̶u̶s̶t̶ ̶a̶s̶k̶i̶n̶g̶ ̶i̶n̶ ̶g̶e̶n̶e̶r̶a̶l̶,̶ ̶c̶o̶u̶l̶d̶n̶’̶t̶ ̶s̶o̶m̶e̶o̶n̶e̶ ̶d̶i̶s̶a̶b̶l̶e̶ ̶t̶h̶e̶ ̶b̶u̶b̶b̶l̶e̶ ̶c̶h̶a̶t̶ ̶a̶n̶d̶ ̶m̶a̶k̶e̶ ̶t̶h̶e̶i̶r̶ ̶o̶w̶n̶?̶ ̶O̶r̶ ̶i̶s̶ ̶i̶t̶ ̶o̶n̶ ̶n̶o̶ ̶m̶a̶t̶t̶e̶r̶ ̶w̶h̶a̶t̶?̶

Wait, no, scratch that. Why can’t you just go into CoreGui, find the BubbleChat script, and modify it?

CoreGui is permission-locked by Roblox. It’ll throw an error if you try to modify anything inside of it.