So I am trying to tween the size of an image button when a mouse hovers over it. Here is my code.
function size()
script.Parent:TweenSize(0, 90, 0, 90)
end
function unsize()
script.Parent:TweenSize(0, 75, 0, 75)
end
function buy()
--implement buy for each image button (IGNORE THIS)
end
script.Parent.MouseEnter:Connect(size)
script.Parent.MouseLeave:Connect(unsize)
script.Parent.MouseButton1Click:Connect(buy) --ignore
The code is not working and I'm not sure why? Any help is much appreciated :)
