Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. hook.Add( "GetScoreboardNameColor", "ChangeColorScoreboard", function( ply )
  2. if ply:GetLevel() >= 0 and ply:GetLevel() < 10 then
  3. return Color( 255, 255, 255 )
  4. elseif ply:GetLevel() >= 10 and ply:GetLevel() < 10 then
  5. return Color(229,255,0)
  6. elseif ply:GetLevel() >= 20 and ply:GetLevel() < 10 then
  7. return Color(255,149,0)
  8. elseif ply:GetLevel() >= 30 and ply:GetLevel() < 10 then
  9. return Color(0,255,8)
  10. elseif ply:GetLevel() >= 40 and ply:GetLevel() < 10 then
  11. return Color(38,0,255)
  12. elseif ply:GetLevel() >= 50 and ply:GetLevel() < 10 then
  13. return Color(170,0,255)
  14. elseif ply:GetLevel() >= 60 and ply:GetLevel() < 10 then
  15. return Color(255,0,0)
  16. elseif ply:GetLevel() >= 70 and ply:GetLevel() < 10 then
  17. return Color(128,66,1)
  18. elseif ply:GetLevel() >= 80 and ply:GetLevel() < 10 then
  19. return Color(51,26,0)
  20. elseif ply:GetLevel() >= 90 and ply:GetLevel() < 101 then
  21. return Color(red,green,blue)
  22. end
  23. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement