Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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.)

0
you need to filter all text inputs and outputs from users using roblox filtering methods abnotaddable 920 — 6y
0
Dat's all? DrPredablox 153 — 6y
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. User#5423 17 — 6y
0
Now if any of you can post this as an answer so I can click 'answered' DrPredablox 153 — 6y

2 answers

Log in to vote
0
Answered by 6 years ago

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

Ad
Log in to vote
0
Answered by
H4X0MSYT 536 Moderation Voter
6 years ago

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

Answer this question