local w=game.ReplicatedStorage.CommonModules EFFECT_LIB=require(w.EffectLib)local k=function(w,k)local u=(((w-math.floor(w/k)*k)/k)*math.pi)*2 local X=math.sin(u+0)*.5+.5 local a=math.sin(u+math.pi/2)*.5+.5 local y=math.sin(u+math.pi)*.5+.5 return Color3.new(X,a,y)end

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
