Hello,
i try to script something that says somthing in the Chat. Like that:
1 | function onChatted(message, player) |
2 | if message = = "/testadmin" and tableContains(admins, player.Name) then |
3 | print ( "AdminScript working" ) |
4 | --Here i want that it types in Chat: AdminScript Working. |
5 | end |
6 | end |
How can i do that?
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.