My music pauses randomly whether its on my downloaded music or soundcloud,etc. I looked through the setting and couldn't find anything that would cause that to happen it pauses the music even when I'm not near the phone its really annoying
It sounds like the phone is running out of resources and has to buffer the music for a second or two. There could also be a slight glitch in the mp3 file itself. You also might clear the system cache, that may help.
Welcome to Android Central! Also, does this only happen when headphones are plugged in? Some headphones may not be entirely compatible, and might send false Pause commands.