Part Spawn In A Random Location Between A Specific Set Of Coordinates Or Between A Part

Hello! I’m trying to make a script that clones a part from ServerStorge, then Parents it into the workspace and sets it within a part or specific set of coordinates. Thanks!

(Above is an example showing what I’m trying to say.)

2 Likes

You could try using math.random with the parts’ position/set position

You would need to decompose the shape generated into small triangles then generate points within those triangles.

image

1 Like

Well, heres what I did with math.random.
image