function waitForChild(y,u)local l=y:findFirstChild(u)if l then return l end while true do l=y.ChildAdded:wait()if l.Name==u then return l end end end function newSound(y,u)local l=Instance.new("\083\111\117\110\100")l.SoundId=u l.Name=y l.archivable=false l.Parent=script.Parent.Head return l end
---This server script creates the sounds and also exists so that it can be easily copied into an NPC and create sounds for that NPC.
--Remove the local script if you copy this into an NPC.

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

function newSound(name, id)
	local sound = Instance.new("Sound")
	sound.SoundId = id
	sound.Name = name
	sound.archivable = false
	sound.Parent = script.Parent.Head
	return sound
end
