Can use multiple Sounds to affect a Brick's properties?
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)
2 | game.Workspace.Strobe 1. Material = "Neon" |
3 | game.Workspace.Strobe 1. Transparency = 0.1 |
6 | game.Workspace.Strobe 1. Material = "Plastic" |
7 | game.Workspace.Strobe 1. Transparency = 0.2 |