I finally got the idea instead of disabling is putting them to a place where the player can't see the frame, but I'm just wondering. Is there a CFrame for frames?
✓ ANSWER ACCEPTED
How to Make Frames Move On Click? [SOLVED]
1 answer
✓ Accepted answer
To move a Frame in a UI you need to use UDim2
Frame.Position = UDim2.new (Scale, Offset, Scale, Offset)
You can use TweenPosition to tween the Frame.
Frame:TweenPosition(UDim2.new (Scale, Offset, Scale, Offset), 'Out', 'Linear', 1, true)
Use a LocalScript because this action require the informations of the client.
1 comment
0
Thank you so much! I've been stuck on this for a day.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
i think its called UDIM2 i'm not sure...
Is it the same as CFrame except for Frames?
You want made a Frame in a ScreenGui? If you want move a frame in a ScreenGui you need a LocalScript and use a UDim2 because CFrame is just for move a Part.
I think you should put textbutton / Imagebutton in the frame