Changing a part's BrickColor to the color of the torso

I’m trying to make a system where a specific part inside the player’s torso will change to the color of the torso. I’ve tried this but it doesn’t seem to work. Any help would be greatly appreciated!

script.Parent.Torso.slicehalf.BrickColor = script.Parent.Torso.BrickColor

Try this:

script.Parent.Torso.slicehalf.BrickColor = script.Parent:WaitForChild("Body Colors").TorsoColor