On the first screenshot the line
PRINT [SAV2], once it gets to this line it says "subscript out of range". I don't get it because the SAV variable was firstly SAV[2] then i tried changing it to SAV[5] (as you see on the second screenshot), but it still says "subscript out of range" error
DIM SAV[5] means that you're creating a list of values (a.k.a. an array) called SAV with 5 values stored in it.
However, items in an array are numbered starting from 0, not 1. What this means is, DIM SAV[5] has five items in it: SAV[0], SAV[1], SAV[2], SAV[3], and SAV[4].
Notice that the last item is SAV[4], not SAV[5], so printing SAV[5] is an error.
I know i don't have it like that... I started from 0 but it still says the that there is an error. And sorry it wasn't DIM SAV[2] before, it was DIM SAV[3]
i found out that when you write PRINT SAV[2] before the LOAD... command it will print it without any errors, however when you write it after LOAD... command it'll result an error. somebody please help me
LOAD automatically resizes the array to the size of the file. Your save file seems to be less than three values long, so it shrinks and SAV[2] is no longer valid.