I'm trying to make a new head for something, just I can't change it to the players head color
head2.BrickColor = BrickColor.new(character.Head.BrickColor)
I'm trying to make a new head for something, just I can't change it to the players head color
head2.BrickColor = BrickColor.new(character.Head.BrickColor)
Don't use the BrickColor.new in cases like this, remove it and add this:
character.head2.BrickColor
Now lets add it to your script:
head2.BrickColor=character.head2.BrickColor
Hope this Helped!
Works thanks
character.Head.BrickColor*(;
Oh thx sorry.
You're trying to make a BrickColor datatype out of a BrickColor datatype.. the BrickColor.new function takes a string, or number as an argument. You're giving it another BrickColor datatype.
What you're doing: BrickColor = BrickColor.new(BrickColor.new())
What you need to do: BrickColor = BrickColor.new()
So to fix? Just remove the BrickColor.new() and have soley character.Head.BrickColor since that returns a BrickColor.
head2.BrickColor = character.Head.BrickColor
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
is there any output?
07:29:30.007 - Players.Player.PlayerGui.GUI.Scripts.Gunscript:56: bad argument #1 to 'new' (Color3 expected, got userdata) 07:29:30.008 - Script 'Players.Player.PlayerGui.GUI.Scripts.Gunscript', Line 56 07:29:30.008 - Stack End