![]() Print(randomUser(617197)) - jaredvaldez4 (Terminated)Īnd if the OP wanted to avoid loading Characters of terminated users, from my understanding & based on previous research I’ve done, the most reliable way to determine if a user is terminated is by utilizing Roblox’s Users Api (more specifically, the /v1/users/ endpoint) and checking if the isBanned bool returns true or not. Print(randomUser(7936)) - miked (Terminated) Print(randomUser(4)) - Unable to retrieve username (One of the earliest accounts) Hi I am trying to work on a marvel game and I would really love to make a character selection GUI Where you tap on a character and the character comes up with a screen next to it with there name, powers, outfit name and I hope someone could help me. Local success, res = pcall(GetNameFromUserIdAsync, Players, UserId) ![]() We’ll then create the essentials: A scrolling frame A local script (place in screen gui) A text label for where the players name is displayed (place in local script) A UiListLayout (place in scrolling frame) Finally we’ll start scripting. Local GetNameFromUserIdAsync = Players.GetNameFromUserIdAsync PLAYER LIST First, we’ll have to create a starter gui, to store our player list. For example: local Players = game:GetService("Players") ![]() I’m fairly sure that :GetNameFromUserIdAsync() works in most cases, even if the user is terminated (with the exceptions for accounts that were closed due to GDPR requests along with some of the earliest accounts, such as those with UserIds of 4, 5, 7, etc.). Since there are a lot of banned accounts, you would have to generate it again until it’s a valid account. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |