#chatbx and bubblechat

1 messages · Page 1 of 1 (latest)

true basin
#

i have been working on chat box and bubblechat bcz its banned in middle east region and these are the results
btw am nt very good at scripting whenever i try to fix the bubble chat buggin or that id doesnt appear
the chatbox starts to bug and chat appears in the middle or even doesnt appear
"i got a ready template to use for the bubble chat "cuz am too lazy to make one myself "
and this is the script "local and server script i'm using for the chat system" i will start with local then the server script
and am using "remote events too for both bubble and chat box cuz i tried to make them both work from one remote event"

true basin
#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local chatRemote = ReplicatedStorage:WaitForChild("CustomChatEvent")
local bubbleRemote = ReplicatedStorage:WaitForChild("BubbleRemote")

local Blacklist = {"كسمك", "كس امك", "انىيك", "زبي", "ازغبك", "عيري"} 

chatRemote.OnServerEvent:Connect(function(player, message)
    local filtered = message
    for _, word in pairs(Blacklist) do
        filtered = string.gsub(filtered, word, string.rep("*", #word))
    end
    chatRemote:FireAllClients(player.Name, filtered)
end)

bubbleRemote.OnServerEvent:Connect(function(player, message)
    local filtered = message
    for _, word in pairs(Blacklist) do
        filtered = string.gsub(filtered, word, string.rep("*", #word))
    end
    bubbleRemote:FireAllClients(player.Name, filtered)
end)```
true basin
#

@hardy island

hardy island
hardy island
#

if you borrow someones script you prolly dont know how to fix it

#

so

#

make your own

true basin
#

and the template too

true basin
hardy island
#

idk whats the problem ngl

true basin