i want to access the player name to see if the player is the map owner because i am making a game called bloxnite with a creative mode
and i do not want non owners accessing the island settings.
NOTE: THIS IS NOT A REQUEST FOR CODE, IT IS A QUESTION!
1 Like
Yes, they can access the username of a player
Yes, local scripts can access a player’s name. Try using this code:
game.Players.LocalPlayer.Name
1 Like
You might want to check for the UserId instead of Username because Username can be changed but not UserIds
2 Likes
Yes, they can. Its easy to get the name.