Hi can someone help me with this
while true do script.Parent.Parent.Head.BrickColor = Color3.new(135, 135, 135) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 173, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 158, 140) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 152, 98) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 127, 71) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 65, 23) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 149, 29) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(147, 173, 29) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(83, 173, 27) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(44, 173, 85) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(48, 173, 148) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(65, 144, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(38, 63, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(107, 53, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(157, 67, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 149, 29) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 63, 87) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173, 41, 43) wait(0.3) end
Your problem here is that it's constantly changing it to white as Color3.new takes alpha values (0-1) not 0-255. Either use Color3.fromRGB:
while true do script.Parent.Parent.Head.BrickColor = Color3.fromRGB(135, 135, 135) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 173, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 158, 140) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 152, 98) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 127, 71) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 65, 23) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 149, 29) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(147, 173, 29) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(83, 173, 27) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(44, 173, 85) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(48, 173, 148) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(65, 144, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(38, 63, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(107, 53, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(157, 67, 173) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 149, 29) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 63, 87) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.fromRGB(173, 41, 43) wait(0.3) end
or divide each value by 255 like so:
while true do script.Parent.Parent.Head.BrickColor = Color3.new(135/255, 135/255, 135/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 173/255, 173/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 158/255, 140/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 152/255, 98/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 127/255, 71/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 65/255, 23/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 149/255, 29/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(147/255, 173/255, 29/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(83/255, 173/255, 27/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(44/255, 173/255, 85/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(48/255, 173/255, 148/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(65/255, 144/255, 173/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(38/255, 63/255, 173/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(107/255, 53/255, 173/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(157/255, 67/255, 173/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 149/255, 29/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 63/255, 87/255) wait(0.3) script.Parent.Parent.Head.BrickColor = Color3.new(173/255, 41/255, 43/255) wait(0.3) end
Hope that solves your problem, you weren't very specific as to what was the problem so I made an educated guess.