function Debug.Profiler(A,J,...)debug.profilebegin(A)local X=table.pack(J(unpack({...}or{})))debug.profileend()return table.unpack(X or{})end return Debug

function Debug.Profiler(ProfilerString, Callback, ...)
	debug.profilebegin(ProfilerString)
	local Results = table.pack(Callback(unpack({...} or {})))
	debug.profileend()
	return table.unpack(Results or {})
end


return Debug
