I then installed Carbon Mod and GApps. It all worked like usual except for that Google Play Store kept on crashing.
I connected the phone to my PC, clicked on internal storage, and then tried creating a new folder. I then got an error that said "The device has either stopped responding or has been disconnected". I then tried the file manager on my phone, which gave me an error when I tried opening internal storage. Help!
I played with file manager a little trying to find a solution, and I found some hints. When I went into /storage/emulated, instead of finding a folder in there, I found a file that says legacy. In properties it says this file is Symlink type. Same with sdcard0. I tried deleting both of them and adding folders with the same name, but when I restarted the phone, the two items came back and the folders were nowhere to be found.