In order to share values between virtual users during the runtime you can use a Shared queue variable.
From your Script A, you can put your correlated value to that shared queue and then have the Script B to consume that value.
For more details about Shared queue please look at the NeoLoad documentation here