while wait(.01)do local J=360/#nodes c=script.Parent.HumanoidRootPart.Position a=a+3 for J,s in pairs(nodes)do local q=a+J*(360/#nodes)x=math.cos(math.rad(q)+math.rad(a))z=math.sin(math.rad(q)+math.rad(a))s.BodyPosition.Position=(c+Vector3.new(x,0,z)*dist)+Vector3.new(0,math.sin(q*.05)*height,0)s.CFrame=CFrame.new(s.Position,c)end end
--game:GetService("UserInputService").InputBegan:Connect(function(input)
--	local c = 0
--	if input.KeyCode == Enum.KeyCode.One then
--		c = Start(1)
--	elseif input.KeyCode == Enum.KeyCode.Two then
--		c = Start(2)
--	elseif input.KeyCode == Enum.KeyCode.Three then
--		c = Start(3)
--	elseif input.KeyCode == Enum.KeyCode.Four then
--		c = Start(4)
--	elseif input.KeyCode == Enum.KeyCode.Five then
--		c = Start(5)
--	elseif input.KeyCode == Enum.KeyCode.Six then
--		c = Start(6)
--	elseif input.KeyCode == Enum.KeyCode.Seven then
--		c = Start(7)
--	elseif input.KeyCode == Enum.KeyCode.Eight then
--		c = Start(8)
--	elseif input.KeyCode == Enum.KeyCode.Nine then
--		c = Start(9)
--	elseif input.KeyCode == Enum.KeyCode.Zero then
--		c = Start(0)
--	end
--end)

while wait(0.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 * 0.05) * height, 0)
		n.CFrame = CFrame.new(n.Position, c)
	end
end
