-- Waits for script.childName to exist then returns it

local function scriptWaitForChild(childName)
	while not script:FindFirstChild(childName) do wait() end
	return script[childName]
end

local eatAnimation = scriptWaitForChild("EatAnimation")
