anybody know how to do this? i just need to know because i need it for my game Thanks in advance
✓ ANSWER ACCEPTED
How do i find a player in the player service using their name?
2 answers
✓ Accepted answer
Easy enough.
game.Players:GetPlayerFromCharacter(plr.Parent)
or
game.Players:FindFirstChild(plr.Parent.Name)
or even
game.Players:WaitForChild(plr.Parent.Name)
But if you are using a local script,
game.Players.LocalPlayer
`game.Players:FindFirstChild("PlayerName")
?`
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Hey, can you try to give us more details for your question?