Brick does not want to change color. How can I fix this?
I am trying to make the brick change color, but it does not work. It goes transparent, then it just stops. Please help. Thanks!
sphere = script.Parent
a = 0
repeat
001 | sphere.Rotation = Vector 3. new( 3 , 0 , 0 ) |
004 | sphere.Rotation = Vector 3. new( 6 , 0 , 0 ) |
007 | sphere.Rotation = Vector 3. new( 9 , 0 , 0 ) |
010 | sphere.Rotation = Vector 3. new( 12 , 0 , 0 ) |
013 | sphere.Rotation = Vector 3. new( 15 , 0 , 0 ) |
016 | sphere.Rotation = Vector 3. new( 18 , 0 , 0 ) |
019 | sphere.Rotation = Vector 3. new( 21 , 0 , 0 ) |
022 | sphere.Rotation = Vector 3. new( 24 , 0 , 0 ) |
025 | sphere.Rotation = Vector 3. new( 27 , 0 , 0 ) |
028 | sphere.Rotation = Vector 3. new( 30 , 0 , 0 ) |
031 | sphere.Rotation = Vector 3. new( 33 , 0 , 0 ) |
035 | sphere.Rotation = Vector 3. new( 30 , 0 , 0 ) |
039 | sphere.Rotation = Vector 3. new( 27 , 0 , 0 ) |
042 | sphere.Rotation = Vector 3. new( 24 , 0 , 0 ) |
045 | sphere.Rotation = Vector 3. new( 21 , 0 , 0 ) |
048 | sphere.Rotation = Vector 3. new( 18 , 0 , 0 ) |
051 | sphere.Rotation = Vector 3. new( 15 , 0 , 0 ) |
054 | sphere.Rotation = Vector 3. new( 12 , 0 , 0 ) |
057 | sphere.Rotation = Vector 3. new( 9 , 0 , 0 ) |
060 | sphere.Rotation = Vector 3. new( 6 , 0 , 0 ) |
063 | sphere.Rotation = Vector 3. new( 3 , 0 , 0 ) |
066 | sphere.Rotation = Vector 3. new( 0 , 0 , 0 ) |
070 | sphere.Rotation = Vector 3. new(- 3 , 0 , 0 ) |
074 | sphere.Rotation = Vector 3. new(- 6 , 0 , 0 ) |
077 | sphere.Rotation = Vector 3. new(- 9 , 0 , 0 ) |
080 | sphere.Rotation = Vector 3. new(- 12 , 0 , 0 ) |
083 | sphere.Rotation = Vector 3. new(- 15 , 0 , 0 ) |
086 | sphere.Rotation = Vector 3. new(- 18 , 0 , 0 ) |
089 | sphere.Rotation = Vector 3. new(- 21 , 0 , 0 ) |
092 | sphere.Rotation = Vector 3. new(- 24 , 0 , 0 ) |
095 | sphere.Rotation = Vector 3. new(- 27 , 0 , 0 ) |
098 | sphere.Rotation = Vector 3. new(- 30 , 0 , 0 ) |
101 | sphere.Rotation = Vector 3. new(- 33 , 0 , 0 ) |
106 | sphere.Rotation = Vector 3. new(- 30 , 0 , 0 ) |
110 | sphere.Rotation = Vector 3. new(- 27 , 0 , 0 ) |
113 | sphere.Rotation = Vector 3. new(- 24 , 0 , 0 ) |
116 | sphere.Rotation = Vector 3. new(- 21 , 0 , 0 ) |
119 | sphere.Rotation = Vector 3. new(- 18 , 0 , 0 ) |
122 | sphere.Rotation = Vector 3. new(- 15 , 0 , 0 ) |
125 | sphere.Rotation = Vector 3. new(- 12 , 0 , 0 ) |
128 | sphere.Rotation = Vector 3. new(- 9 , 0 , 0 ) |
131 | sphere.Rotation = Vector 3. new(- 6 , 0 , 0 ) |
134 | sphere.Rotation = Vector 3. new(- 3 , 0 , 0 ) |
137 | sphere.Rotation = Vector 3. new(- 0 , 0 , 0 ) |
script.Parent.Transparency = 1
script.Parent.BrickColor=BrickColor "Green"
script.Parent.Transparency = 0
until pigs == 1