GetMarkerReachedSignal NOT WORKING

I have a very stupid problem that only works on a certain place and is that the GetMarkerReachedSignal does not work at all, but once I switch the animation to a different place it works flawlessly. Here’s my code.

local function eatdrink()
	if not animations.discoveryAnimation.IsPlaying and not animations.harvestingAnimation.IsPlaying then
		if not using and not eating and not butchering then
			eating, using = true, true
			local eatanim = humanoid:LoadAnimation(AnimationFolder[itemInUse].Eat)
			eatanim:Play()

			RP.events.RemoveItem:FireServer(itemInUse)

			for i = 1, 2 do
				if inventoryKeybinds[i] == itemInUse then
					inventoryKeybinds[i] = nil
				end
			end
			
			eatanim:GetMarkerReachedSignal("s1"):Connect(function()

				print("waaaa")
				if itemInUse == "Fish" or itemInUse == "Cooked Fish" or itemInUse == "Burnt Fish" or itemInUse == "Tsamma Melon" then
					print("what")
					RP.changeConsumablevisual:FireServer(itemInUse, "Stage1")
				end
			end)

			task.wait(ITEMSTATS[itemInUse]["TimeToEat"])
			eating = false
			RP.events.EatItem:FireServer(ITEMSTATS[itemInUse]["Type"], ITEMSTATS[itemInUse]["HungerRecover"] or 0, ITEMSTATS[itemInUse]["ThirstRecover"] or 0, ITEMSTATS[itemInUse]["HealthRecover"] or 0, itemInUse)
			task.wait(.1)
			unload_slot()
		end
	end
end