I need a gui object to be in a limit distance from other, but how to use it like Vector3, that has .magnitude? Do I have to calculate each vector, like:
distanceX = gui1.X.Offset - gui2.X.Offset
You can calculate the magnitude of the distance between the GUIs by comparing their AbsolutePositions:
local gui1s = gui1.AbsolutePosition local gui2s = gui2.AbsolutePosition local distance = (gui1s - gui2s).magnitude