JaviRoak
(Javi)
December 7, 2020, 11:58pm
1
Hello,
I want to achieve the simple gui effect of tween
The GUI doesnt change
I look for solutions, like different scripts but doesnt work
Heres the script
local button = script.Parent
button.MouseEnter:Connet(function(button)
script.Parent:TweenSize(UDim2.new(0.169, 0,0.231, 0), "In", "Quad", 1)
end)
button.MouseLeave:Connet(function(button)
script.Parent:TweenSize(UDim2.new(0.161, 0,0.221, 0), "In", "Quad", 1)
end)
Thanks for read!
ram4c
(ram4c)
December 7, 2020, 11:59pm
2
JaviRoak:
Connet
You spelled it wrong, itโs Connect.
2 Likes
stqrrydev
(stqrrydev)
December 7, 2020, 11:59pm
3
You spelled Connect wrong I believe.
I hate it when people doesnโt tell us the error of the script. Itโs a very simple fix because you spelled Connect wrong. You shouldโve at least tell us the error and maybe you can already solve the problem by yourself.
1 Like
JaviRoak
(Javi)
December 8, 2020, 7:10am
5
Woah, Chill dude, thats is devforum about
kalabgs
(FartFella)
December 8, 2020, 7:17am
6
i mean dude u forgot to add play at the end
button.MouseEnter:Connect(function(button)
script.Parent:TweenSize(UDim2.new(0.169, 0,0.231, 0), "In", "Quad", 1):Play()
end)
button.MouseLeave:Connect(function(button)
script.Parent:TweenSize(UDim2.new(0.161, 0,0.221, 0), "In", "Quad", 1):Play()
end)
i just tried it (works for me)