1 | p.Position = Vector 3. new(math.random( 100 , 226 ),math.random( 100 , 10 ),math.random( 100 , 261 )) |
Random.new should be used in new work. math.random() is for the benefit of games that are already using it.
Full explanation: https://scriptinghelpers.org/questions/70444/randomnew-or-mathrandom-which-is-superior
This might not have been a fix for you, but it's worth a read. Hope this helped!