Hey. I'm actually pretty expert in TweenSize and TweenPosition using, and it happens rarely when my screen fails. But now, Idk why, my script won't run well. Everything is spelt correctly, the output won't say that there's an error, and the script won't run it. Can someone please help me? Here's my script :
local Frame = script.Parent.Parent.Parent.Parent.Closer
local Button = script.Parent
Button.MouseButton1Click:Connect(function()
Frame:TweenSize(
UDim2.new(1.163, 0, 1.022, 0),
"Out",
"Quad",
2
)
end)
Thanks!

6 comments
So does it not tween the size completely, or does it tween it in some weird way?
It does not tween size at all bro.
Check if you defined the correct locations of frame and button, cause i just tried it and it worked for me, the only thing i changed were the frame and the button variables.
It was defined well. I checked it a lot of times and, yes, it's correct. I think that's a roblox error for some reason. I will look for results.
is it a script or a local script
It is a script.