Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------
- -- BY UPZONE --
- ---------------
- white = "0"
- orange = "1"
- magenta = "2"
- lightBlue = "3"
- yellow = "4"
- lime = "5"
- pink = "6"
- gray = "7"
- lightGray = "8"
- cyan = "9"
- purple = "a"
- blue = "b"
- brown = "c"
- green = "d"
- red = "e"
- black = "f"
- function change(color)
- if white == color then
- return orange
- elseif orange == color then
- return magenta
- elseif magenta == color then
- return lightBlue
- elseif lightBlue == color then
- return yellow
- elseif yellow == color then
- return lime
- elseif lime == color then
- return pink
- elseif pink == color then
- return gray
- elseif gray == color then
- return lightGray
- elseif lightGray == color then
- return cyan
- elseif cyan == color then
- return purple
- elseif purple == color then
- return blue
- elseif blue == color then
- return brown
- elseif brown == color then
- return green
- elseif green == color then
- return red
- elseif red == color then
- return black
- elseif black == color then
- return white
- end
- return white
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement