local playeronscreen = getuseroption('playeronscreen')
auto(200)
if playeronscreen and $wptsection == 'enterresp', 'aftertp', 'huntatp', 'leaveatp', 'huntbtp', 'leavebtp', 'frostyatp' then
setsetting('Alerts/PlayerOnScreen/PlaySound', 'yes')
else
setsetting('Alerts/PlayerOnScreen/PlaySound', 'no')
end
I have this script it was working but now not. help me to fix it