So I wanna tween GUI's for my game and for some reason I cannot get it to work. I am using a local script as well.
local button = script.Parent
local frame = game.StarterGui.Test.Frame
button.MouseButton1Click:connect(function()
print("Hello")
frame:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), 'Out', 'Bounce', 1)
end)
This is my code so far. Can someone maybe help me on this?
Thanks.

2 comments
Editted for Code block.
What? I editted it Because I made a grammar mistake.