Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Getting the name of a player with their UserId?

Asked by 6 years ago

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

1
Yes. Players:GetNameFromUserIdAsync() User#19524 175 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago
Edited 6 years ago
local UserId = 0
print(game:GetService("Players"):GetNameFromUserIdAsync(UserId))
Ad

Answer this question