I wanted to ask how to create a script on the system of rank type :
1.SuperVip
2.Vip
3.ExtraVip
4.MegaVip
I like to set each rank could write in color .
If you helped me not insulted or ignored it thanks .
Sorry My English is NOT Perfect!
hc.chat.SAY_TAGS = { [hc.VIP] = "VIP", [hc.MODERATOR1] = "Mod", [hc.MODERATOR2] = "Mod", [hc.ADMINISTRATOR] = "Adm" }
admin = {1} mod = {55555} vip = {12345} local rnd1 = math.random(0,255) local rnd2 = math.random(0,255) local rnd3 = math.random(0,255) local color =("0"):rep(3-#rnd1)..rnd1..("0"):rep(3-#rnd2)..rnd2..("0"):rep(3-#rnd3)..rnd3 addhook("say","coloredtext") function coloredtext(id,txt) 	for k,v in ipairs(admin) do 		if player(id,"usgn") == v then 			msg("©255255255Admin "..player(id,"name").." : ©"..color.." "..txt) 			return 1 		end 	end 	for k,v in ipairs(mod) do 		if player(id,"usgn") == v then 			msg("©255255255Moderator "..player(id,"name").." : ©"..color.." "..txt) 			return 1 		end 	end 	for k,v in ipairs(vip) do 		if player(id,"usgn") == v then 			msg("©255255255Very Important Person "..player(id,"name").." : ©"..color.." "..txt) 			return 1 		end 	end end
#operator since they're not strings. We gotta use
tostring()for that then.