Spawn part in random location on dev product purchase

I just came up with an awesome idea. What if… Hear me out… What if, for every developer product purchased, I spawn a part in a random location , and I just wait until tons of parts fill the entire world…?

I know, it’s a really weird idea, but I want to make it happen.

The problem is I’m a noob developer and I need your guys’ help. So how would I do this??

That’s a very smart Idea.

Use Instance.new

2 Likes

WOW THANK YOU SO MUCH!!

but how would I make it spawn in random location?

use math.random() 2 times for x and z you could have constant Y value for positioning thats how i do it

1 Like

THANKS!! now i have the spawning done but…

how can I detect dev product purchased?

Take a look at this Cool Link!

1 Like

thanks! you helped out a lot!!