i’m trying to edit a inventory i downloaded, but how can i make colored text only the player there is calling the function can see?
Ah, misread. Thought he just needed the function to print things out in colour to the chat.
Right now I am going to assume the module uses a usermessage that gets sent to all the clients and then that triggers a message to be displayed to the screen. The easiest way would be to remove the usermessage player filter and just send it to the player using their inventory.
What inventory system are you using?