Make a Working Jumppad.

I’m trying to make a jumppad that works like this but I can never access the RigidbodyFirstPersonController script and it’s making me want to throw my laptop in to the wall, any help?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class JumpPad : MonoBehaviour
{

    [SerializeField] bool inTrigger = false;
    private GameObject Player;
    public float PadForce = 50.0F;
   


	void FixedUpdate ()
    {
        Player = GameObject.FindGameObjectWithTag("Player");
        RFPC = Player.GetComponent<RigidbodyFirstPersonController>();

        if (inTrigger)
        {

           RFPC.JumpForce = PadForce;
           RFPC.m_jump = true;
           RFPC.JumpForce = 50;
           RFPC.m_jump = false;
            //Sätt igång en jump och öka boosten
            //AccessJumpStrength
            //JumpForce = PadForce
            //m_jump = true
        }
        
	}

    private void OnTriggerEnter(Collider col)
    {
        if (col.CompareTag("Player"))
        {
            inTrigger = true;
            Debug.Log("InTrigger = True");
        }
    }

    private void OnTriggerExit(Collider col)
    {
        if (col.CompareTag("Player"))
        {
            inTrigger = false;
            Debug.Log("InTrigger = False");
        }
    }
}

Do you have errors in your IDE or in the Unity Console ?

you don’t declare RPFC here, did you just forget to add the declaration in your message, or is it missing in the script ?

Do you success to get the Player first ?

if you want to be sure to get the RigidbodyFirstPersonController component, you can make RPFC public and drag and drop the component directly from the inspector