Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Getting the name of a player with their UserId?

Is there a way you can get the name of a player with their UserId WHEN they are NOT in-game?

1 comment

1

Yes. Players:GetNameFromUserIdAsync()

1 answer

✓ Accepted answer
local UserId = 0
print(game:GetService("Players"):GetNameFromUserIdAsync(UserId))

This discussion is preserved as it was. New answers, comments, and votes are closed.