Player's first function bug