I want to learn how to make a screen GUI’s transparency tween depending on how loud an audio is, for example… if a bomb is ticking, the screen would go black for every moment the ticking stops, whereas the screen is normal for each time there IS a tick. Another example would be having a screen GUI’s transparency tween throughout a regular song, sort of how games have the FOV tween depending on how loud a song is on their game intro.
I’ve tried looking on the internet to things related to syncing stuff with audio & have not had much luck. I’d love if someone could help steer me in the right direction (also I’m pretty new to scripting so idk how basic or advanced something like this is)
what this code does, is basically sets a frame’s transparency depending on the loudness of the audio( you can modify the 0.0003 number at the end to your preferences, its basically how hard you want it to be, you can try this code out. Maybe that’s what you’re looking for.