Blur changes upon PlaybackLoudness

Greetings developers!

I’ve been trying to make a script to change the blur like in Mocap Dance where as the song gets louder or deeper, the screen will be more or less blured.

This is the script i did and i don’t know why it’s not working :

game:GetService("RunService").RenderStepped:connect(function()
	workspace.Camera.FieldOfView = 70 + workspace.Sound.PlaybackLoudness * 0.007
	game.Lighting.ColorCorrection.TintColor = Color3.new(.01 + workspace.Sound.PlaybackLoudness * 0.005, .01 + workspace.Sound.PlaybackLoudness * 0.005, .01 + workspace.Sound.PlaybackLoudness * 0.005)
	game.Lighting.ColorCorrection.Brightness = -0.65 + workspace.Sound.PlaybackLoudness * 0.0007
	workspace.Camera.CFrame = workspace.Camera.CFrame * CFrame.Angles(0, 
		0, math.rad(math.random(-workspace.Sound.PlaybackLoudness, 
		workspace.Sound.PlaybackLoudness) * 0.01)) + Vector3.new(
		math.rad(math.random(-workspace.Sound.PlaybackLoudness * 0.08, workspace.Sound.PlaybackLoudness * 0.08) * 0.05), 
		math.rad(math.random(-workspace.Sound.PlaybackLoudness * 0.08, workspace.Sound.PlaybackLoudness * 0.08) * 0.05), 
		math.rad(math.random(-workspace.Sound.PlaybackLoudness * 0.08, workspace.Sound.PlaybackLoudness * 0.08) * 0.05)
	)
	game.Lighting.Blur.Size = workspace.Sound.PlaybackLoudness * 0.1
	
end)

I tried with different values instead of 0.1 too

Thank you everyone for helping :heart:

Which other values have you attempted with the blur size other than 0.1?

Lower than 0.1, such as 0.05 and -1
Bigger than 0.1, such as 0.5 and 1
When i saw no difference i even tried to put the value 10. Same results

Sorry for the 4 day late reply, I forgot about this thread.
I’m not to sure how to help you since I dont really know a lot of scripting.