local R=game.ReplicatedStorage.CommonModules EFFECT_LIB=require(R.EffectLib)local x=function(R,x)local K=(((R-math.floor(R/x)*x)/x)*math.pi)*2 local I=math.sin(K+0)*.5+.5 local t=math.sin(K+math.pi/2)*.5+.5 local U=math.sin(K+math.pi)*.5+.5 return Color3.new(I,t,U)end
--fetching effectlib
local common_modules = game.ReplicatedStorage.CommonModules
EFFECT_LIB = require(common_modules.EffectLib)
local GenColor = function(t, rate)
	local get_t = (t - math.floor(t / rate) * rate) / rate * math.pi * 2
	local red = math.sin(get_t + 0) * 0.5 + 0.5
	local green = math.sin(get_t + math.pi / 2) * 0.5 + 0.5
	local blue = math.sin(get_t + math.pi) * 0.5 + 0.5
	return Color3.new(red, green, blue)
end
