I made this script for the parts if you were interested in making rainbow parts, this script should also work for smoke. Sadly, this script does not work for Beams, here is the script I made:
local text = script.Parent
local add = 10
wait(1)
local k = 1
while k <= 255 do
text.Color = Color3.new(k/255,0/255,0/255)
k = k + add
wait()
end
while true do
k = 1
while k <= 255 do
text.Color = Color3.new(255/255,k/255,0/255)
k = k + add
wait()
end
k = 1
while k <= 255 do
text.Color = Color3.new(255/255 - k/255,255/255,0/255)
k = k + add
wait()
end
k = 1
while k <= 255 do
text.Color = Color3.new(0/255,255/255,k/255)
k = k + add
wait()
end
k = 1
while k <= 255 do
text.Color = Color3.new(0/255,255/255 - k/255,255/255)
k = k + add
wait()
end
k = 1
while k <= 255 do
text.Color = Color3.new(k/255,0/255,255/255)
k = k + add
wait()
end
k = 1
while k <= 255 do
text.Color = Color3.new(255/255,0/255,255/255 - k/255)
k = k + add
wait()
end
while k <= 255 do
text.Color = Color3.new(255/255 - k/255,0/255,0/255)
k = k + add
wait()
end
end
2 comments
Here if you wanted to change smoke color or part color rainbow: local text = script.Parent local add = 10 wait(1) local k = 1 while k <= 255 do text.Color = Color3.new(k/255,0/255,0/255) k = k + add wait() end while true do k = 1 while k <= 255 do text.Color = Color3.new(255/255,k/255,0/255) k = k + add wait() end k = 1 while k <= 255 do text.Color = Color3.new(255/255 - k/255,255/255,0/255) k = k
I made a variable I called "k"