I cannot make random integer into a variable

i would like to use two instances of random integer that will give me the same results.

  • First it would show as a result in a lable
  • Second i will be using it in a logic…
    “Both function should have the same result but my code below shows different results”

I tried turning it into a variable still it wouldnt work:

since i cannot turn this random integer into a variable what is the work around for this.

thank you looking forward

you can use the example block