Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is roblox chat that important? Man the title requirements are fiesty. btw

If I were to remove Roblox's chat system ENTIRELY to make a custom chat from scratches Would it be safe and what features do I need to put so it reaches roblox's standards(Chat filtering etc.)

5 comments

0

you need to filter all text inputs and outputs from users using roblox filtering methods

0

Dat's all?

0

As long as you filter all messages correctly you can use whatever you want. This means any text that is created by the user which is being displayed to others.

0

Now if any of you can post this as an answer so I can click 'answered'

2 answers

✓ Accepted answer

If your game is FIltering Enabled then you need to know how to use Filtering Enabled and remote events to create a custom chat from scratch

By using RemoteEvents you can Replicate text to the Server

Say we have Player1 and Player2

Player1 Types some text lets say he typed "Hello World!" and clicks send this will only show the text to Player1 since we are using a LocalScript and the game is Filtering Enabled so we must Replicate the text to the whole server so Player2 can also see the text that Player1 sent

How do we do this? with RemoteEvents! Here's an example~~~~~~~~~~~~~~~~~

--LocalScript

local ChatSendEvent = game.ReplicatedStorage.ChatSendEvent local InputBox = script.Parent.InputBox local SendButton = script.Parent.SendButton

SendButton.MouseButton1Click:connect(function()

 	ChatSendEvent:FireServer()

end)

--ServerScript

local ChatSendEvent = game.ReplicatedStorage.ChatSendEvent

ChatSendEvent.OnServerEvent:connect(function() --Replicate Text using clone functions etc end)


You get the idea but you have to pass some paramaters for this to work

Sorry first time posting on this site and i've been so inactive lately


In order to do this, is a great start. As long as you filter the text correctly, any chat system can be used.

This discussion is preserved as it was. New answers, comments, and votes are closed.