Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ -- !MUST BE IN REPLICATEDFIRST!
- Made by 4z#6666, Enable Bubble Chat
- ]] -- MODIFY THE SETTINGS IF NEEDED
- local Settings = {
- ["Enabled"] = true, -- ENABLE/DISABLE BUBBLE CHAT
- ["Credits"] = true, -- ENABLE/DISABLE CREDITS
- ["Disabled"] = false, -- ENABLE/DISABLE BUBBLE CHAT
- ["Game Creator"] = game.Players.LocalPlayer.Name -- PERSON USING IT
- }
- local function Set_ChatService_Properties()
- game:GetService("Chat"):RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, function()
- return {BubbleChatEnabled = true}
- end)
- end
- if Settings.Disabled == true and Settings.Enabled == true then
- -- SEND AN ERROR FOR CURRENT SETTINGS!
- error("(ERROR): (#1): Disabled was set to true")
- -- IF DISABLED IS TRUE AND BUBBLE CHAT ISN'T DISABLED
- elseif Settings.Disabled == false and Settings.Enabled == true and Settings.Credits == false then
- Set_ChatService_Properties() -- ENABLE BUBBLE CHAT
- end
- if Settings.Disabled == false and Settings.Enabled == true and Settings.Credits == true then
- print("(🦋): Created by 4z#6666") -- CREATOR OF SCRIPT
- print("(💀): Used by ".. Settings["Game Creator"]) -- USED BY PERSON/GAME CREATOR
- Set_ChatService_Properties() -- ENABLE BUBBLE CHAT
- end
- if Settings.Disabled == false and Settings.Enabled == false then
- -- SEND AN ERROR FOR CURRENT SETTINGS!
- error("(ERROR): (#2): Bubble Chat isn't disabled nor is it enabled")
- end
Advertisement
Add Comment
Please, Sign In to add comment