function waitForChild(k,h)while true do local M=k:findFirstChild(h)if M then return M end k.ChildAdded:wait()end end


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

