I want to know hot get the Character from a player
is there a way to do this?
Instead of the ':GetPlayerFromCharacter()' method is there like an opposite of that? Like 'GetCharacterFromPlayer()'?
I want to know hot get the Character from a player
is there a way to do this?
Instead of the ':GetPlayerFromCharacter()' method is there like an opposite of that? Like 'GetCharacterFromPlayer()'?
I'll give you the code I use for this:
local player = --etc
if not player.Character then
print("waiting for character")
player.CharacterAdded:wait();
char = player.Character
else
char = player.Character
end
It's faster to type
Char = player.Character or player.CharacterAdded:wait()
Lol 5 years late
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks