local z=0 local c=math.cos(z)local I=math.sin(z)local u=script.Parent.HumanoidRootPart.Position local F=5 local P={}local function S()for F,S in pairs(P)do local R=z+F*(360/#P)c=math.cos(math.rad(R))I=math.sin(math.rad(R));((game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")):Create(S,TweenInfo.new(.2,Enum.EasingStyle.Quart),{Position=u+Vector3.new(c,0,I)*5})):Play()end end local function R(c)for z=1,c,1 do local c=Instance.new("\080\097\114\116",workspace)c.Anchored=true c.Size=Vector3.new(1,1,1)c.CanCollide=false c:ClearAllChildren()c.Parent=workspace table.insert(P,c)end local I=360/#P u=script.Parent.Position z=z+15 local F=coroutine.create(S)return F end
--repeat wait() until script.Parent.HumanoidRootPart
local a = 0
local x = math.cos(a)
local z = math.sin(a)
local c = script.Parent.HumanoidRootPart.Position
local count = 5

local nodes = {}

local function Spin()
	for i, n in pairs(nodes) do
		local b = a + i * (360 / #nodes)
		x = math.cos(math.rad(b))
		z = math.sin(math.rad(b))
		game:GetService("TweenService")
			:Create(n, TweenInfo.new(0.2, Enum.EasingStyle.Quart), { Position = c + Vector3.new(x, 0, z) * 5 })
			:Play()
	end
end

local function Start(count)
	for i = 1, count do
		local n = Instance.new("Part", workspace)
		n.Anchored = true
		n.Size = Vector3.new(1, 1, 1)
		n.CanCollide = false
		n:ClearAllChildren()
		n.Parent = workspace
		table.insert(nodes, n)
	end
	local b = 360 / #nodes
	c = script.Parent.Position
	a = a + 15
	local spincoro = coroutine.create(Spin)
	return spincoro
end
