while wait(.01)do local p=360/#nodes c=script.Parent.HumanoidRootPart.Position a=a+3 for p,y in pairs(nodes)do local h=a+p*(360/#nodes)x=math.cos(math.rad(h)+math.rad(a))z=math.sin(math.rad(h)+math.rad(a))y.BodyPosition.Position=(c+Vector3.new(x,0,z)*dist)+Vector3.new(0,math.sin(h*.05)*height,0)y.CFrame=CFrame.new(y.Position,c)end end



while wait(.01) do
	local b = 360/#nodes
	c = script.Parent.HumanoidRootPart.Position
	a=a+3
	for i,n in pairs(nodes) do
		local b = a + i*(360/#nodes)
		x = math.cos(math.rad(b)+math.rad(a))
		z = math.sin(math.rad(b)+math.rad(a))
		n.BodyPosition.Position = (c+Vector3.new(x,0,z)*dist)+Vector3.new(0,math.sin(b*.05)*height,0)
		n.CFrame = CFrame.new(n.Position,c)
	end
end
