I am making a brick react to the playbackloudness of a sound ID. I have multiple sound ID's placed in Game.Workspace.MusicScript. S1, S2, S3 and so on. I have the brick's Material and Transparency reacting to Game.Workspace.MusicScript.S1.Playbackloudness but i'm looking to get it to react to multiple sound ID's instead of just one. This is my current layout of the script that is working find with S1 playbackloudness. Any advice would really help me out a ton.
game:GetService("RunService").RenderStepped:connect(function() local volume = (game.workspace.MusicScript.S1.PlaybackLoudness)
if volume >= 800 then game.Workspace.Strobe1.Material = "Neon" game.Workspace.Strobe1.Transparency = 0.1 if volume >= 775 then game.Workspace.Strobe1.Material = "Plastic" game.Workspace.Strobe1.Transparency = 0.2
max volume is 10 so maybe you can do 7.5 or 8 and you missed ends i think.