When I play an audio, the script always says playbackloudness is 0, although the playbackloudness is not 0 How can I fix this?
local RunService = game:GetService("RunService")
local sound = script.Parent.Sound
local player = game.Players.LocalPlayer
local radio = script.Parent
local pbl
RunService.RenderStepped:Connect(function()
pbl = sound.PlaybackLoudness
print(sound.PlaybackLoudness)
if pbl >1 then
print("too loud")
end
end)

2 comments
are you running this on a local script or a server script?
^^^render stepped and local player..... is your sound playing?