Answers for "roblox how to change color of part"

Lua
0

roblox how to change color of part

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 how to change color of part"

Browse Popular Code Answers by Language