This is for a big project for school so please help. I wanted to add a way to upgrade my fire rate in the UpgradeMenu used in the How to Make a 2D Platformer tutorial. Inside of the “PlayerStats” script I add a float called “weaponFireRate” and then in the Start method I set weaponFireRate = weapon.fireRate. Then in the “UpgradeMenu” script I created a private float named “fireRateMultiplier” like the rest of the UpgradeMenu multipliers, and set it equal to 1.3f. I guess unstead of telling you everything I already did, I’ll just post the script. When I hit play it gives me an error and says “NullReferenceException: Object reference not set to an instance of an objectPlayerStats.Start () (at Assets/Scripts/PlayerStats.cs:36)”. The line it’s referring is the one I mentioned above, weaponFireRate = weapon.fireRate. Also when I hit “U” when playing it shows the Fire Rate on Upgrade GUI, but the fireRate says 0 even though I have it set to 5f in the “Weapon” script. When I click Upgrade it let’s me buy it, but the value doesn’t update and the fire rate stays the same when I shoot. Please Help me I need this game to be done for a school project. I’ll Bold the stuff that applies in my codes.