Kierra

Untitled

Jun 6th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. function RandomBackground()
  2.  
  3. couleur = {colors.blue() = 1, colors.orange() = 2, colors.magenta() = 3, colors.lightBlue() = 4, colors.yellow() = 5, colors.lime() = 6, colors.pink() = 7, colors.gray() = 8, colors.lightGray() = 9, colors.cyan() = 10, colors.purple() = 11, colors.blue() = 12, colors.brown() = 15, colors.black() = 16 }
  4.  
  5. while true do
  6. local randomCouleur = math.random(1,16)
  7. couleurBackground = couleur[randomCouleur]
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment