Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Does player character change after resetting in game mode? (Problem with a script error)

I have a script who has a part wich does this at some part

RightShoulder = me.Character.Torso["Right Shoulder"]

Entire thing works fine, In studio, testing, everything works fine, even after resetting, But once i put it in a game to test in actual play mode, works fine, until the player resets wich is where the tool stops working, and the console shows an error saying

  • Right Shoulder is not a valid member of part*

Why does that happen? It seems like something changes when resetting in game mode.

3 comments

0

can you put in full script?

0

it will be easyer to see whats wrong with full script

0

Resetting removes all joints, including the Right Shoulder.

1 answer

RightShoulder is a member of player.Character not player.Character.Torso

So try changing it to: RightShoulder = me.Character:findFirstChild("Right Shoulder");

1 comment

0

This is wrong.

This discussion is preserved as it was. New answers, comments, and votes are closed.