Advertisement
Guest User

Untitled

a guest
May 21st, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. timer.Create("CP_Gaymod",0.02,0,function()
  2. local mats = Entity(0):GetMaterials()
  3. for k,v in pairs(mats) do
  4. local r,g,b = ColorRand().r-50, ColorRand().g-50, ColorRand().b-50
  5. Material(v):SetVector("$color", Vector(r,g,b))
  6. end
  7. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement