Still have questions? Join our Discord server and get real time help.
0

# Can you help my text filtering error returning Instance?

uhTeddy 101
2 years ago

Hey, So I am trying to filter chat text for my custom chat. The message is returning back as "Instance" I have no idea why as no error is logged. Please help me.

local ChatSent = game:GetService("ReplicatedStorage"):WaitForChild("Chat"):WaitForChild("ChatSent")
local RecieveChat = game:GetService("ReplicatedStorage"):WaitForChild("Chat"):WaitForChild("RecieveChat")
local TextService = game:GetService("TextService")

ChatSent.OnServerEvent:Connect(function(from,chat)
RecieveChat:FireAllClients(from,filteredTextResult)
end)

0
the Chat isn't teh chat service its the folder I have uhTeddy 101 — 2y
0
maybe "chat" is an inbuilt value try using other variables , For example if you type "local end = " then it won't work. (I told "maybe") TheSkyofIndia 150 — 2y
0
This is quite non descriptive (not enough for moderation tho) so I doubt you will get an answer. Post the actual errors and the client-side code. cabbler 1937 — 2y
0
there is no error being returned uhTeddy 101 — 2y