Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function RandomBackground()
- 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 }
- while true do
- local randomCouleur = math.random(1,16)
- couleurBackground = couleur[randomCouleur]
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment