How to spawn parts randomly in a certain a area (depending on the shape too)

So Ik how to spawn parts in a part randomly but when it comes to a sphere or cylinder idk



inside the highlighted area

1 Like

Determine position by orientation and distance
And should limit how many

To prevent memory overflow

1 Like

Wdym can u show me an example

This text will be blurred

idk but this article can be hint

Ik I have to use math.random but I tried it and it doesn’t work on cylinders