function Scheduler.SpawnDelayed(A,...)local L=select("\035",...)if L>0 then local D={...}local T T=Heartbeat:Connect(function()T:Disconnect()A(table.unpack(D,1,L))end)else local L L=Heartbeat:Connect(function()L:Disconnect()A()end)end end

function Scheduler.SpawnDelayed(Function, ...)
	local Length = select("#", ...)
	if Length > 0 then
		local Arguments = {...}
		local Connection

		Connection = Heartbeat:Connect(function()
			Connection:Disconnect()
			Function(table.unpack(Arguments, 1, Length))
		end)
	else
		local Connection

		Connection = Heartbeat:Connect(function()
			Connection:Disconnect()
			Function()
		end)
	end
end
