How to get player's alias ? (friend's nickname)

Well the problem is simple:
How do I get someone’s alias his friend gave him?
It can be locally, so like, when player joins, it prints out his alias if he is his friend.

I tried to look for solution everywhere, on youtube, in roblox docs, on devforum, I even tried asking that roblox AI, but I couldn’t find anything, or anything that would actually work (referring to AI).

If anyone know’s how to do it, you would be my savior.
also, player.DisplayName did not work too, and I had it in localscript which I wished it would do. But maybe I did not use it correctly.

1 Like

i don’t think this is possible

Some people may set the nickname of someone to their real name, if a developer could access this they could indeed get their real name just like that, and for that reason I do not think this is allowed, nonetheless possible

I was just thinking it’s possible since the chat has access to it after all.

yeah but the chat is controlled by core scripts, however, you could try getting it using

Well, I tried to just check message.PrefixText which should include player’s alias as starting Prefix is player name with : behind it, but it showed player’s display name.

So I guess you do not have access to this after all.
I’ll leave this open in case someone know solution for this, or if someone has proof its actually not availible information.

It is not possible the get a player’s alias. As @FroDev1002 said, you can write anything in an alias so it wouldn’t be safe if scripts could get the alias.

And also when you set an alias it is written that only you can see it.

1 Like

Well, I wanted it for nametag, so its kinda annoying its not availible, but on the other hand I can understand why. Thanks for the info

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.