Math addon
From SolarStrike wiki
string.alternate
number math.distance(x1, y1, x2, y2)
Returns the distance between 2 points.
Example
local dist = math.distance(0, 0, 10, 10);
number math.distance(x1, y1, x2, y2)
Returns the distance between 2 points.
Example
local dist = math.distance(0, 0, 10, 10);