I have 3 colors and I want one of them into a block and it has to be random, first I used color3 but I only want blue, green or red. This is how it looks right now: script.Parent.Touched:connect(function(hit) if hit then hit.BrickColor = BrickColor.new end)
I dont know how to use math.random so I am looking for help here

1 comment
try using an array: http://wiki.roblox.com/index.php?title=Table#Creating_arrays