I made this button to change color to look darker as you pressed it for just a feel and the color change doesnt work and I don't know what's going on, because its setting it to black
MenuFrame = script.Parent.Parent
script.Parent.MouseButton1Down:Connect(function()
print("work")
MenuFrame.Main.ImageColor3 = Color3.new("221/255, 149/255, 6/255")
print("work2")
MenuFrame.buttonShadow.ImageColor3 = Color3.new("172/255, 116/255, 4/255")
print("work3")
end)
and with line 5 and 7 I also removed /255 and it didnt work. And I mean to do imagecolor because I used round images for gui

1 comment
This worked! Thanks!