I tried running that code:
script.Parent.MouseButton1Click:Connect(function()
local x = script.Parent.Parent.Position.X
script.Parent.Parent:TweenPosition(UDim2.new(x,0,.2,0),'Out','Quart',1)
end)
(yes, the frame selected (line 2) is active and all its components) but it dosen't work? It just doesn't play, got any ideas?
Explorer: http://prntscr.com/rbqts3

7 comments
-200 too much of a number for the first y value, as it will match the screen in any size. So, the position should be from -2 to 2 if you want it on screen or not.
The result in this, is it's tweening to position to -200 in 1 second. That's really fast, try putting the number between -2 and 2.
Dosen't work...
And @killerbrenden also, dosen't work.. I changed it to .2
I changed the position to .2
Can you show us a picture of how you setup your gui (a hierarchy)?
Sure look at edit!