local y={}y.task=task function y.call(k)while not SceneFramework:GetAttribute(enums.Attribute.FrameworkReady)or not Conductor:GetAttribute(enums.Attribute.FrameworkReady)do y.task.wait()end end return y
-- for scene switching specifically
local waitForOrchestra = {}

waitForOrchestra.task = task

function waitForOrchestra:call()
	while
		not SceneFramework:GetAttribute(enums.Attribute.FrameworkReady)
		or not Conductor:GetAttribute(enums.Attribute.FrameworkReady)
	do
		waitForOrchestra.task.wait()
	end
end

return waitForOrchestra
