You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve?
A simple hover-in and out colour of the ImageButton with Color3Value -
What is the issue?
Trying to use a Color3Value and using the ImageButton to change the colour from it. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried using Color3.new, none of that worked.
local Home = script.Parent.Parent.Home
for _,v in pairs(Home:GetChildren()) do
if v:IsA('ImageButton') then
v.MouseEnter:Connect(function()
v.ImageColor3 = Color3.fromRGB(v.HoverIn.Value)
end)
v.MouseLeave:Connect(function()
v.ImageColor3 = Color3.fromRGB(v.HoverOut.Value)
end)
end
end