My variable is not updating on a backend script.

Global variables are not supported.

Development is currently underway to provide a solution to this issue.