for q=0,360,360/(Light_Segments-1)do local f=LightBall:Clone()f.CFrame=(Center.CFrame*CFrame.Angles(math.rad(90),math.rad(q),0))*CFrame.new(0,0,1)LightBallAnimations[#LightBallAnimations+1]={Start=Center.CFrame;Control=Center.CFrame:lerp(CFrame.new(TargetLocation)*(Center.CFrame-Center.CFrame.p),.5)*CFrame.new(Seed:NextNumber(-Properties.OrbSpread,Properties.OrbSpread),Seed:NextNumber(-Properties.OrbSpread,Properties.OrbSpread),Seed:NextNumber(-Properties.OrbSpread,Properties.OrbSpread)),End=CFrame.new(TargetLocation)*(Center.CFrame-Center.CFrame.p),Object=f}f.Parent=workspace end local q=(Create("\079\098\106\101\099\116\086\097\108\117\101"))({Name="\084\114\097\099\107\101\100\079\114\098",Value=LightBallAnimations[1].Object;Parent=TrackOrb})
--Character.Parent = Services.ServerStorage

for Angle = 0, 360, (360 / (Light_Segments - 1)) do --Create LightBall
	local LightClone = LightBall:Clone()
	LightClone.CFrame = (Center.CFrame * CFrame.Angles(math.rad(90), math.rad(Angle), 0)) * CFrame.new(0, 0, 1)
	LightBallAnimations[#LightBallAnimations + 1] = {
		Start = Center.CFrame,
		Control = Center.CFrame:lerp((CFrame.new(TargetLocation) * (Center.CFrame - Center.CFrame.p)), 0.5)
			* CFrame.new(
				Seed:NextNumber(-Properties.OrbSpread, Properties.OrbSpread),
				Seed:NextNumber(-Properties.OrbSpread, Properties.OrbSpread),
				Seed:NextNumber(-Properties.OrbSpread, Properties.OrbSpread)
			),
		End = CFrame.new(TargetLocation) * (Center.CFrame - Center.CFrame.p),
		Object = LightClone,
	}
	LightClone.Parent = workspace
end

local TrackedOrb = Create("ObjectValue")({
	Name = "TrackedOrb",
	Value = LightBallAnimations[1].Object,
	Parent = TrackOrb,
})
