Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to get characters torso color?

Asked by 3 years ago

basically trying to make a part the same brickcolor of the players torso. this is what I have and this is the error.

invalid argument #1 to 'new' (Color3 expected, got BrickColor)

local color = character.UpperTorso.BrickColor
pet.BrickColor = BrickColor.new(color)

1 answer

Log in to vote
0
Answered by 3 years ago

You already got the BrickColor in the variable color, just do:

local color = character.UpperTorso.BrickColor
pet.BrickColor = color
0
^^^ THUNDER_WOW 203 — 3y
Ad

Answer this question