How can I get a player (an object that has properties) from a player name?
I know that I can use players:GetPlayerFromUserId(), but I was wondering if there is a similar method for a player name.
For example, getPlayer(“Winky_y”) would return with a player object with all my properties.
GetPlayerFromCharacter, GetPlayerFromUserId, and all the other GetPlayers functions, only search for players that are currently in the Server. You can not get access to the player object, unless it is inside the Players service.
However, you can get certain properties of a Player and it’s character through other means. What are you trying to do exactly?
Why would you need the player object? You would just need the user id? Using player names for banning is ineffective since they can change their names.