How do I get my player up the ladder?

I’m trying to get my character up a ladder to a roof. Any help on this code would be appreciated. It should work, the ladder has a box collider on it and when I check “IsClimbing” in the inspector my character moves vertically. I think its an issue with the collider. If anyone knows how to make a collider that isn’t attached to an object, that would help as well.

Try running in debug mode. See if the function is being called and if it is, check the value of the tag. Also pause the game and see the tag value of the gameObject you are referencing in your script. Other possibility is that you maybe instantiating a prefab which has no tag set but its instance, which is present in the scene before starting the scene, has been assigned a tag by you.