local F=Random.new()local function H(H,T)local C=math.sqrt(F:NextNumber())*T local b=F:NextNumber(0,math.pi*2)local A=H.X+C*math.cos(b)local E=H.Z+C*math.sin(b)local o=Vector3.new(A,H.Y,E)return o end
--[[
	Helper functions
]]

local random = Random.new()

local function getRandomPointInCircle(centerPosition, circleRadius)
	local radius = math.sqrt(random:NextNumber()) * circleRadius
	local angle = random:NextNumber(0, math.pi * 2)
	local x = centerPosition.X + radius * math.cos(angle)
	local z = centerPosition.Z + radius * math.sin(angle)

	local position = Vector3.new(x, centerPosition.Y, z)

	return position
end
