function waitForChild(Z,e)local Q=Z:findFirstChild(e)if Q then return Q end while true do Q=Z.ChildAdded:wait()if Q.Name==e then return Q end end end


function waitForChild(parent, childName)
	local child = parent:findFirstChild(childName)
	if child then return child end
	while true do
		child = parent.ChildAdded:wait()
		if child.Name==childName then return child end
	end
end
