I know how to get the character form the player but how do I get the player?
player = script.Parent.Parent player.Character.Torso
but how would i get from the players character to the one in Players?
I know you already found a solution, but just in case anyone else wanted to know, the Players service has a method called GetPlayerFromCharacter
.
local character = game.Workspace.Player local player = game.Players:GetPlayerFromCharacter(character)
Locked by adark, Perci1, SanityMan, and Shawnyg
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?