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

Customizable Custom Player GUI not changing body color?

Asked by 5 years ago

I have my own custom Cat model that I rigged an animated myself, yet when i have my own GUI, I coded it as such with buttons and a BrickColorValue within the GUI button along with the chosen color. A localscript was put into the button as well. The coding is as such, and yes, the torso of the model is indeed called "Torso". There are no errors in my output.

Player = game.Players.LocalPlayer
Character = Player.Character
x = script.Parent.Value.Value
script.Parent.MouseButton1Click:connect (function ()
    Character["Torso"].BrickColor = x

end)
0
Wow User#21908 42 — 5y
0
Could you try putting, instead of just = x, = BrickColor.new(x)? I may be being stupid and this is probably wrong ihatecars100 502 — 5y

Answer this question