I was having a problem when the level was loaded. Multiple background music was playing when I was trying to use a randomizer with an integer in UE4. I found out the bug involved was a bug inside of UE4. The bug in question was an overflow bug; gives more outputs then requested.
Whenever I called this integer in a function, it sent two pulses into the function instead of 1. It isn’t normally noticed, because it happens so quickly.
I have not solved this problem yet, but I was going to make it into a sound track instead. The 2nd problem occurred here. The value of the integer keeps getting reset every-time the character spawned. This is because, when the character gets destroyed, the values get reset, but the controller does not.
Here is the tutorial I watched to understand this: Video link