so the purpose of the script is to freeze the character in place and block all inputs when "p" is pressed, and unfreezed when "p" is pressed again, its in a 3d first person unity game, and the intent is to freeze the character whereever they are, even blocking gravity