local function g(g)local X={}function X.PopItem(X)local m=(g:GetChildren())[1]if m then local g=m:FindFirstChild("\066\117\102\102\101\114\080\111\115\105\116\105\111\110\076\111\099\107",true)if g then g:Destroy()end m.Parent=game.Workspace return m end end return X end

local function CreateBuffer(Folder)
	local Buffer = {}
	
	--Removes an item from the buffer.
	function Buffer:PopItem()
		local NextItem = Folder:GetChildren()[1]
		
		if NextItem then
			--Remove the position lock.
			local BufferPositionLock = NextItem:FindFirstChild("BufferPositionLock",true)
			if BufferPositionLock then
				BufferPositionLock:Destroy()
			end
			
			--Reparent it to Workspace.
			NextItem.Parent = game.Workspace
			
			--Return the item.
			return NextItem
		end
	end
	
	--Return the buffer class.
	return Buffer
end


