Skip to content

Instantly share code, notes, and snippets.

@uyjulian
Created November 1, 2013 16:58
Show Gist options
  • Save uyjulian/7268421 to your computer and use it in GitHub Desktop.
Save uyjulian/7268421 to your computer and use it in GitHub Desktop.
Better c3 de
val = Color3.new(2,0,0)
deval = Color3.new(0,0,0)
if val.r >= 1 or val.g >= 1 or val.b >= 1 then
val = deval
elseif val.r <= 0 or val.g <= 0 or val.b <= 0 then
val = deval
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment