int = 10
function onEnter(element)
element.BackgroundColor3 = Color3.new(element.BackgroundColor3.r + (int/255),
element.BackgroundColor3.g + (int/255),
element.BackgroundColor3.b + (int/255))
end
script.Parent.Money.MouseEnter:connect(onEnter(script.Parent.Money))
23:58:52.961 - Attempt to connect failed: Passed value is not a function |