I would like to split the AbsolutePosition property of a Gui object into two separate integer values.
For example, I'd like to do something along the lines of:
gui = script.Parent x, y = script.Parent.AbsolutePosition
Edit: What this code currently would do is store a Vector2 value to the X variable and leave Y as nil.
I realized that Vector2 values also have a .X and .Y property that can be read. Edit: What I did:
gui = script.Parent x,y = gui.AbsolutePosition.X, gui.AbsolutePosition.Y