My image button should grow in size when it is hovered over but it only works for one of the buttons?
All the scripts are the same I have no idea why one works and the others dont
local Frame = script.Parent
local Crafting = Frame.Crafting
local Inventory = Frame.Inventory
local Quests = Frame.Quests
print("why isnt this script working")
Quests.MouseEnter:Connect(function()
print("it does work") <- this does not print
Quests:TweenSize(
UDim2.new(1.0, 0, 0.35, 0),
"Out",
"Quad",
0.15,
true
)
Inventory:TweenPosition(
UDim2.new(1.0, 0, 0.5, 0),
"Out",
"Quad",
0.15,
true
)
Crafting:TweenPosition(
UDim2.new(1.0, 0, 0.95, 0),
"Out",
"Quad",
0.15,
true
)
end)
Quests.MouseLeave:Connect(function()
Quests:TweenSize(
UDim2.new(1.0, 0, 0.3, 0),
"In",
"Quad",
0.15,
true
)
Inventory:TweenPosition(
UDim2.new(1.0, 0, 0.45, 0),
"In",
"Quad",
0.15,
true
)
Crafting:TweenPosition(
UDim2.new(1.0, 0, 0.9, 0),
"In",
"Quad",
0.15,
true
)
end)