I am trying to make a button to tween in a shop GUI.
It does not tween in. I think it might be an issue with the button itself, as when I replaced the tween with a print statement, nothing printed.
It is currently in a localscript.
All of that is under a screengui in starterGUI.
This is the code I have in the localscript:
local passgui = script.Parent.Parent.Parent.GamepassesFrame
script.Parent.MouseButton1Click:Connect(function()
passgui.Frame:TweenPosition(UDim2.new(0.273, 0,0.255, 0), "InOut", "Sine", 0.5)
end)