Help converting an old local script

I got some old scripts that makes the use of old body parts of the current character, examples: “Left Arm”, “Right Hip”, “Left Leg” etc.
I tried to search to find a solution, but can’t seem to find any solution.
I just wanted to know if it’s possible to convert these old body parts to the current body parts characters have, I am pretty sure the rest of the script will work if I fix this

Just a quick example of how the script looks:

Player = game:GetService("Players").LocalPlayer
Character = Player.Character
RightArm = Character["Right Arm"]
LeftArm = Character["Left Arm"]
RightLeg = Character["Right Leg"]
LeftLeg = Character["Left Leg"]

I’m not really sure what youre trying to accomplish, but try this.

Player = game:GetService("Players").LocalPlayer
Character = Player.Character
RightArm = Character:WaitForChild("Right Arm")
LeftArm = Character:WaitForChild("Left Arm")
RightLeg = Character:WaitForChild("Right Leg")
LeftLeg = Character:WaitForChild("Left Leg")
1 Like

R6 still has the same body parts, if you mean R15 there is more to it.

Left arm

  • LeftHand
  • LeftLowerArm
  • LeftUpperArm

Right arm

  • RightHand
  • RightLowerArm
  • RightUpperArm

Torso

  • UpperTorso
  • LowerTorso

Right leg

  • RightUpperLeg
  • RightLowerLeg
  • RightFoot

Left leg

  • LeftUpperLeg
  • LeftLowerLeg
  • LeftFoot

And of course, the Head and HumanoidRootPart.

2 Likes

Thanks for replying, I will try later because my Roblox Studio is acting weirdly at the moment

@Incapaxx
Thanks for the help!