For some reason the system doesn't allow me to use a global variable in addition to the 2 ranges as shown above.
When I try:
set value at (SelectedPlayer,loopindex("Players"),loopindex("Stats")) to 0
It does not work.
When I try:
set value at (8,loopindex("Players"),loopindex("Stats")) to 0
It does work.