local m=0 local n=math.cos(m)local w=math.sin(m)local L=script.Parent.HumanoidRootPart.Position local t=5 local d={}local function p()for t,p in pairs(d)do local h=m+t*(360/#d)n=math.cos(math.rad(h))w=math.sin(math.rad(h));((game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")):Create(p,TweenInfo.new(.2,Enum.EasingStyle.Quart),{Position=L+Vector3.new(n,0,w)*5})):Play()end end local function h(n)for m=1,n,1 do local n=Instance.new("\080\097\114\116",workspace)n.Anchored=true n.Size=Vector3.new(1,1,1)n.CanCollide=false n:ClearAllChildren()n.Parent=workspace table.insert(d,n)end local w=360/#d L=script.Parent.Position m=m+15 local t=coroutine.create(p)return t end

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(.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

