Survival Shooter- How do I add FPS and Jump Option?

Hello,
I’m new to new Unity, I have completed the survival shooter tutorial but I want to add fps and jump option. I have used the fps script from character but I keep getting error. I have attached the camera to a player but its not very efficient. How can I be able to add fps and jump function? Please help, thank you!

Hello.

The fps script from character depends on other scripts from the same asset.
Make sure to import ALL content from that bundle.

For the jump function:
You can use the Input class to determine the pressed buttons.
If the button of your choosing is pressed, you can apply an upward force to the player rigidbody.
I would reccomend the Impulse mode and quite some force.
You need to try different force values in order to find one that fits for you.

Example:

public float JumpForce;

void Update()
{
    if (Input.GetKeyDown(KeyCode.Space))
    {
        var rigid = this.gameObject.GetComponent<Rigidbody>();
        if (rigid != null)
        {
            rigid.AddForce(transform.up * JumpForce, ForceMode.Impulse);
        }
    }
}

Note: It should work, but I haven’t tested my code.
So if I made a mistake, please let me know.

Greetings
Chillersanim

Yes, I got it. Now stuck on jumping :/. Thanks for your awesome help!