4.5
The error appeared after adding ‘player > 0 and’
if player > 0 and is_action_just_pressed("jump") and is_on_floor():
Try Input.is_action_just_pressed(“jump”)…
Input.is_action_just_pressed(“jump”)