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

Chat Message from Script?

Hello,

i try to script something that says somthing in the Chat. Like that:

function onChatted(message, player)
    if message == "/testadmin" and tableContains(admins, player.Name) then
        print("AdminScript working")
	--Here i want that it types in Chat: AdminScript Working.
    end
end

How can i do that?

1 answer

✓ Accepted answer

You're looking for ChatMakeSystemMessage under SetCore. You'd simply set the 'Text' of the system message to "AdminScript working.".

I urge you to read that entire page to avoid further confusion.

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