how can i make the beam change color NOTE: THIS script is placed in the beam:
local SECONDS_PER_LOOP = 5
while true do
script.Parent.Color = Color3.fromHSV((tick()/SECONDS_PER_LOOP)%1,1,1)
wait(1)
end
for some reason it stays the same color and i want it to change Can i have some help??

1 comment
yes but if i put this script in my other beam it doesnt match colors when it changes how can i make it match?