Can't Get Through Vents

Hello! I am trying to make a game where you progress through generated rooms, and I used to be able to hit the crawl key and go through vents. For some odd reason, that’s just not happening anymore. I don’t see why you’d need the script, but here:

cal userinputservice = game:GetService("UserInputService")
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local isrunning = false
local anim = humanoid.Animator:LoadAnimation(script:WaitForChild("Crawl"))

	if key.KeyCode == Enum.KeyCode.C or key.KeyCode == Enum.KeyCode.LeftControl then
		if not isrunning then
			isrunning = true
			humanoid.WalkSpeed = 8

		elseif isrunning then
			humanoid.WalkSpeed = 16
			isrunning = false

The really strange thing is that it seemed to be working perfectly fine before, but now it doesn’t. The error only occured on mobile before, but now on all platforms??? I’m really confused and I have no idea what could have possibly caused this to suddenly break. Thanks for any help!

I have determined that the problem has something to do with the camera

I imagine this may have something to do with the animation. Recently, there have been some changes to how you can use assets made by other users. If the animation isn’t made by you and is uploaded to Roblox by someone else, it may not work in your game.