anybody know how to do this? i just need to know because i need it for my game Thanks in advance
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