I'm using math.random
to get a random position but i get this error_
bad argument #2 to 'random' (interval is empty)
how do i fix this?
here is exactly what i'm using.
1 | Vector 3. new(math.random( 10 ,- 10 ) , 0 , math.random( 10 ,- 10 )) |
Just swap the values from low to high
1 | Vector 3. new(math.random(- 10 , 10 ) , 0 , math.random(- 10 , 10 )) |