im creating an animation and i wanted to indicate "LeftHand" (R15). (if my grammar is bad, i dont speak your language.)
✓ ANSWER ACCEPTED
How to indicate LocalPlayer in Workspace?
1 answer
✓ Accepted answer
Don't worry, your grammar is actually a lot better than some other people on this site. As for getting the player Character (what I assume you mean by the player in the workspace) you would run something like this:
local player = game.Players.LocalPlayer
local char = player.Character
Now that's all well and good, but the variable char will hold nil because the player object in Players loads in before the character loads, now, some people have different (and probably better) methods for getting around this, but I use this:
local player = game.Players.LocalPlayer
repeat wait() until player.Character
--waits until the character loads in
local char = player.Character
And there you have it.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
It Worked! Thank you