BAE | Title issue

So as you know, Basic Admin hints have the Title textLabel that display’s the user’s username that ran the command. I wanted to add a [ Rank ] tag next to the username (group rank) which I did. Below you can see the single line of code I’ve used:

topTitle.Text = Title .. '<font transparency="0.65"> [ ' .. Player:GetRoleInGroup(15886999) .. ' ] </font>'

The only issue I’m facing and need help is with errors and server messages. Apparently, since Player is the parameter used, the code finds the player who used the command and then displays the user’s grouip rank on the Error message/server message. Here is what I mean: