Are you trying to get the Player from a NPC Character? That’s not possible as the NPC doesn’t have a player object.