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

How do you make it so when says /newcolor they get a new ChatColor?

Ive tried to get it but its really hard to me. can you help me?

1 answer

✓ Accepted answer

A simple way to do it is create your own chat system - which is not to hard. I have implemented something similar so here is an idea:

local player = script.Parent.Parent.Parent
functions = {["/new"] = function()
data = game:GetService("DataStoreService"):GetGlobalDataStore()
valid = {["blue"] = function(data) 
	data:SetAsync(player.Name..": chat_color", 	{26, 0, 132})
end}
-- As an example
end}

Then when updating you just get the player's color [not at hard], assign the RGB values then update your chat.

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