This is what I've got so far.
function onTouched(hit)
script.Parent.Sound:play()
if script.Parent.TouchEnded then
script.Parent.Sound.IsPlaying=false
end
end
script.Parent.touched:connect(onTouched)
When the brick is touched, the sound will play. But when the brick is not being touched anymore, the sound stops. When the brick is touched again, the sound plays again. So if the brick was as big as the place where the music would play, it could provide background music. For example, if the brick was the same size as a supermarket, it would play when the player steps into it and would cease when the player steps out of it.

3 comments
What? Also, don't use this method for providing music for a specific area. Making a huge brick like that with the touched event would be laggy and glitchy.
@wfv014 is there any other way I could accomplish this then?
You'd need to do something such as Region3, not really sure how it would work exactly, but that's what I'd try.