Add a new Script to the Player node

Save it as player.gd