local player = game:GetService("Players").LocalPlayer
local button = script.Parent
button.Activated:Connect(function()
local char = player.Character
local UpperTorsoColor = char.UpperTorso.BrickColor
char.UpperTorso.BrickColor = BrickColor.new(script.Parent.Color.Vaule)
end)
✓ ANSWER ACCEPTED
Why wont this work???? it just errors with Vaule is not a valid member of IntValue
2 answers
✓ Accepted answer
You misspelled "Value"
local player = game:GetService("Players").LocalPlayer
local button = script.Parent
button.Activated:Connect(function()
local char = player.Character
local UpperTorsoColor = char.UpperTorso.BrickColor
char.UpperTorso.BrickColor = BrickColor.new(script.Parent.Color.Value)
end)
local player = game:GetService("Players").LocalPlayer
local button = script.Parent
button.Activated:Connect(function()
local char = player.Character
local UpperTorsoColor = char.UpperTorso.BrickColor
char.UpperTorso.BrickColor = BrickColor.new(script.Parent.Color.Value)
end)
U wrote Vaule not Value
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
OH THX didnt see that lol