Untitled
unknown
plain_text
a year ago
381 B
6
Indexable
Never
local startPoint = workspace.Start.Position local endPoint = workspace.End.Position local midPoint = (startPoint + endPoint)/2 local dir = (endPoint - startPoint).Unit local cf = CFrame.lookAt(midPoint,midPoint + dir) local range = 20 local RNG = Random.new() local randomPoint = (midPoint - cf.rightVector * range):Lerp(midPoint + cf.rightVector * range,RNG:NextNumber())