gyazo.com/d8dac3c9d4328beea430279ab3b9c892
After i open the gui Menu the 1st button is supposed to go dark with ImageColor3 but it wont work..
local Button = script.Parent script.Parent.MouseEnter:connect(function() Button.ImageColor3 = Color3.fromRGB(158,158,158) end) script.Parent.MouseLeave:connect(function() Button.ImageColor3 = Color3.fromRGB(255,255,255) end)
I have never personally used fromRGB(), so i don't know much about it. I find that just doing new works everytime for me. I don't know if you have given it a try, but it might work.
local Button = script.Parent; script.Parent.MouseEnter:connect(function() Button.ImageColor3 = Color3.new(158/255,158/255,158/255); end); script.Parent.MouseLeave:connect(function() Button.ImageColor3 = Color3.new(1, 1, 1); end);
Best of luck. Hope this helps.