-- Connect to the sound playing event

game:GetService("SoundService").Playing:Connect(function(sound)
	if sound.Playing and sound.SoundId and sound.Volume >= soundThreshold then
		shakeScreen(shakeMagnitude, shakeDuration)
	end
end)

