In general,
unix variables are not available inside awk command
awk command variables are not available to unix
however,
awk -v myvar=$script_var ...
would set the variable myvar within awk programming to the previously set $script_var value
awk would need to output a variable value in order for it to be available outside of the awk command.
see: Passing values out awk.