frmPosY=wnd.AbsoluteSize.Y/2 me.Position=UDim2.new(me.Position.X.Scale,me.Position.X.Offset,0,frmPosY)

frmPosY=wnd.AbsoluteSize.Y/2 -- - sizeY/2
me.Position=UDim2.new(me.Position.X.Scale,me.Position.X.Offset,0,frmPosY)
