Could you check the Input Map settings in the Project Settings?
If there is an input action properly assigned to the Z key but it still doesn’t work, please check the transition conditions for jump in the visual script and make sure that the correct key is specified there.