Body Color changing script worked until changing to R6

Not sure why I am getting the following error:

Body Colors is not a valid member of Model “Workspace.Juicy_Fruit”

for the following sample line:

player.character["Body Colors"].RightArmColor3 = Color3.fromRGB(x[1],x[2],x[3])

Body Colors exist and its inside Workspace.Juicy_Fruit (player.character) not sure what I should do here. (I should also mention it worked in R15)

2 Likes

Maybe you need to wait for Body Colors to exist?

player.Character:WaitForChild("Body Colors").RightArmColor3 = Color3.fromRGB(x[1],x[2],x[3])

lmao that worked

strange how i didnt need to do that for r15 but oh well

2 Likes