The script itself almost works, but disabling and enabling input doesn’t work, as I understand it, it writes that the player variable is empty, but it stands as the bp_firstperson_character type, I’ll send you more details.
Perhaps the error lies directly in the character script itself, but I checked that everything seems to be working correctly, without errors.
Thank you in advance for your cooperation)