You have a couple of things wrong with your code that could cause a NoSuchElementException. First, in your create file you do not check to ensure you have an initial value. There could be the case where the file exists, but there is no value.
I cannot see how you are using the class in your game code, but all of your data members and methods are static. I assume you made them static so you can call them from main. You should make most, probably all non-static and most of your data members non-static as well, and create and use object instances of Modify.
What is most likely causing the NoSuchElementException is that your Scanner and PrintWriter are stepping on each other causing the exception.
You should also restructure your code, making all your path setup and directory and file creation as part of your constructor and make those methods private. This may fix your problem.
Take a look at this restructuring of your code:
If this does not solve your problem, you may need to ensure you only read the value from the file once--during initialization, store that as a static data member. Then when you update the number of times played, increment the static value and write the updated value to your file.
Another unrelated problem with your code is that you do not check to ensure your directory path was actually created. If the directory creation fails, this could cause additional problems with your code.
If you do not want to read the storage directory from the command line, the easiest thing to do is create a Java properties file and read the directory location from there. You can read properties files from either a specific location on the file system or from the classpath. Reading it from the classpath is usually better. Reading a properties file from the classpath means that when you deploy your application, you do not have to worry about having to create a directory structure and copying the properties file to that particular location. All you have to do is package your properties with your application or just put the properties file somewhere on your application's classpath.
Here is your code restructured to read the storage directory location from a properties file:
Sample properties file: