Answers for "roblox studio how to make a constantly changing color of a brick"

Lua
0

roblox studio how to make a constantly changing color of a brick

while true do
	script.Parent.Color = Color3.new(255/255,0/255,0/255)
	for i = 0,255,10 do
		wait()
		script.Parent.Color = Color3.new(255/255,i/255,0/255)
	end
	for i = 255,0,-10 do
		wait()
		script.Parent.Color = Color3.new(i/255,255/255,0/255)
	end
	for i = 0,255,10 do
		wait()
		script.Parent.Color = Color3.new(0/255,255/255,i/255)
	end
	for i = 255,0,-10 do
		wait()
		script.Parent.Color = Color3.new(0/255,i/255,255/255)
	end
	for i = 0,255,10 do
		wait()
		script.Parent.Color = Color3.new(i/255,0/255,255/255)
	end
	for i = 255,0,-10 do 
		wait()
		script.Parent.Color = Color3.new(255/255,0/255,i/255)
	end
end
Posted by: Guest on May-24-2021

Code answers related to "roblox studio how to make a constantly changing color of a brick"

Browse Popular Code Answers by Language