I get an error that says "RightHand is not a valid member of Model" when I write damage.Parent = char["RightHand"]. Why does this happen? When I go in the game and open the explorer it is clearly there.
COMMUNITY QUESTION
Why does it error and say a part is nonexistant when it is clearly there?
1 answer
I found the issue. And no, it is not that "RightHand" has a space, because it doesn't. I just had a clone of myself in the game that was a R6 model and it was trying to find "RightHand" in that, but since R6 does not have a part called "RightHand", it errored. Thank you guys for the help on the discord btw. ;)
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
And yes, I did use WaitForChild, but I got an Infinite yield possible warning.
WaitForChild has an optional arguement, the time it has to wait for game.Workspace:WaitForChild("ChildThatWillNeverExist",87) will wait for that child of workspace for 87 seconds
Does
RightHandhave a space? Such asRight Hand?Right Hand does have a space, so make sure you add that