This is a very simple question, but because I've only been doing this language for a week, the answer has not come to me. An error occurs in between the following two lines, because Regex
is randomly null, but how would I check if it's null, so itd doesn't throw an error?
var Regex = /\<span class="currency-robux">([\d,]+)\<\/span\>/
var PriceSelling = data.match(Regex)[1]