I made 2 frames under a ScreenGui with different positions. One frame has a ButtonGui and the other does not. I put a script in the ButtonGui so that it would move the other frame to the same position as the one with the ButtonGui.
THING is the screen Gui, moving is the frame i'm trying to move, and ayy is the frame with the ButtonGui
this is the script:
script.Parent.MouseButton1Down:Connect(function()
local gui=game.StarterGui.THING
gui.Moving.Position=gui.ayy.Position
end)

1 comment
Hope I can help!