I have a lua script that I am running in obs to attempt to toggle visibility of an image source based on if my audio input is above a certain threshold. As i am a bit of a novice, it took me a while before I had something that was actually functioning. However, it kept returning 0 for audio level in my logs, and when I removed the failsafe, it started returning nil instead. I don't know if it's because I used the wrong piece of code, but it's unable to actually gain any input from obs. It passed the input checker as well, meaning that it recognized the audio input itself. I'm stumped, and hopefully someone smarter than me can help here.