while true do local g=math.clamp(sound.PlaybackLoudness/maxLoudness,0,1)bar.Size=UDim2.new(g,0,1,0)wait(.05)end

while true do
	local amplitude = math.clamp(sound.PlaybackLoudness / maxLoudness, 0, 1)
	bar.Size = UDim2.new(amplitude, 0, 1, 0)
	wait(0.05)
end
