I'm trying to use RGB Color with Color3.new but it won't change the color to the rgb number I put in. I tried other methods but didn't work
local debounce = false
local button = script.Parent
script.Parent.MouseButton1Click:connect(function()
if debounce == false then
button.BackgroundColor3 = Color3.new(101, 181, 50)
button.Text = "No"
debounce = true
elseif debounce == true then
button.BackgroundColor3 = Color3.new(170, 68, 68)
button.Text = "Yes"
debounce = false
end
end)

2 comments
I mean it wont display an rgb color
Write every movement on paper that should help.