Im using this code for my TTT to show colors on the scoreboard. I am using ULX admin mod. I just can't get this to work.
if SERVER then AddCSLuaFile("scoreboardcolors.lua") else function MySBColors(ply) if ply:IsUserGroup("superadmin") then return Color(230, 19, 230) else if ply:IsUserGroup("admin") then return Color(17, 77, 5) else if ply:IsUserGroup("platinum") then return Color(8, 126, 243) else if ply:IsUserGroup("vip") then return Color(228, 243, 9) end end end hook.Add("TTTScoreboardColorForPlayer", "MySBColors", MySBColors) end