How to make randomized spawning

i want to make a randomized spawning orb that gives you exp but also my map size is over 7000 studs so i can like have a platform where it spawns only on that and also my map is terrain generation and i want the orb to multiply randomly on the surface and the orb is located in lighting so you cant see it.

also im using a ProximityPrompt to pick it up

Just use math.random() and get a random point on the map.

Yeah I agree, with the choices out of those math randoms add different positions the spawning orbs can be, with a cloning feature built into it.