EDIT: I'm wondering this because i know a game that does what i just described, it changes the FOV based on the music.
This is possible, as the developers of Jailbreak have already done so. PlaybackLoudness returns a value between 0 and 1000, showing how loud the sound is.
Try this:
local cam = workspace.CurrentCamera local RS = game:GetService('RunService') local sound = workspace.Sound -- Let's say there's a sound in workspace that's playing RS.RenderStepped:Connect(function() if sound.IsPlaying the --check to see if the sound is playing. cam.FieldOfView = 70+((sound.PlaybackLoudness/1000)*5) end end)
Not has been tested, but it should work