There are 2 functions called math.sin and math.cos, you can make a circle out of these 2 functions. (known as polar coordinate)
local radius = 50
local increment = 0.1
for i = 0, math.pi*2, increment do
local x = radius * math.cos(i)
local y = radius * math.sin(i)
print(x, y)
end