I have 2 scripts: 1 which has player stats (current stamina, max stamina) and a separate script which deals with sprinting. If I wanted to alter the current stamina variable in the player stats script from the sprinting script how would I go about doing so? I tried making a variable playerstats player; then doing player.currentstamina -= 2; and it didnt work sadly…