How to get a random number between 2 ranges of numbers

Hey guys, so i’m wondering if anyone can help me out with this problem. Say I have these 2 ranges of numbers: -2500 to -3000 and 2500 to 3000. How would I get 1 random number in between both of these ranges? It seems like it should be simple to do but I can’t figure out how to do it efficiently. Thanks!

Like this

2 Likes

Thanks so much!