@khuzaku In your scene, the object that has this script of yours assigned to it. If you select that object in the hierarchy and see the inspector window, you’ll see that it has 2 fields there (those public ones): Target and Player.
In this case you forgot to assign the player object to that field.