So basically I want to sync the beat with the size of the blur effect(Making sure it's obvious with the beat)
1 | beat = game.Workspace.Sound.PlaybackLoudness |
2 | while true do |
3 | game.Lighting.Blur.Size = beat |
4 | wait(. 1 ) |
5 | end |
I am pretty sure that script is correct, make it is a local script and u put it in StarterGui, or StarterPack, or StarterPlayerScript
The problem is that you're referencing what the PlaybackLoudness was when the script first ran. You should instead update it each time it is needed again (when the blur is set).
1 | local beat |
2 | while true do |
3 | beat = game.Workspace.Sound.PlaybackLoudness |
4 | game.Lighting.Blur.Size = beat |
5 | wait(. 1 ) |
6 | end |