Doesn’t look like your changing velocity much in _physics_process, only applying gravity. Can’t speak to the state machine plugin you are using, are you sure it’s signal is connected like in the video?
Instead of screenshots it’s best to paste scripts as text, between three ticks for a block of code