Why does this print done as false when it is true
local part = script.Parent
local handle = script.Parent.Parent
local sound = script.Parent.Parent.sound
local gas = game.Workspace.Events["Gas Check"]
local isDone = gas:GetAttribute("done")
handle.Equipped:Connect(function()
handle:SetAttribute("holding",true)
print(isDone)
if isDone == false then
sound:Play()
elseif isDone == true then
sound.Volume = 0
end
end)
handle.Unequipped:Connect(function()
handle:SetAttribute("holding",false)
sound:Pause()
end)