So I'm making a FieldOfView manipulator script using the PlaybackLoudness feature. The problem is, it all works in Studio, but none of it works in server. Could someone help me figure out this problem? Thanks!
Script:
local Sound = game.Soundscape.Music
local Part = game.Workspace.CurrentCamera
while true do
local x = game.Workspace.Light.Value.Value/20 + 70 --This is basically the PlaybackLoudness in a NumberValue.
wait(0.001)
Part.FieldOfView = x
end

4 comments
FE enabled?
LocalScript?
Nope
I tried using a localscript and it didnt work ;-;