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

How to make an admin command show up on the normal chat?

Asked by 4 years ago

I know how to edit the normal chat but I just need to know how to add a command used by specific admins that show up on chat like probably :ban then it'll show up on the normal chat like [CONSOL] "playername" Has been banned by "Adminname", i have no idea how to make that happen and not sure if that possible but thank you.

0
I don't know that one, but I know that it has something to do with RemoteEvents and the StarterPlayerScript. You may want to use FireAllClients() for your RemoteEvent, and then a LocalScript im the StarterPlayerScript with the OnClientEvent:Connect(function() event. AirTranPilot22 2 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

You could use SetCore via StarterGui.

-- LocalScript
game:GetService(“StarterGui”):SetCore(“ChatMakeSystemMessage”, {Text = "playername has been banned by Admin."})
Ad

Answer this question