Well i got this from the wiki
function wasted (killer, weapon, bodypart)
local sound = playSound("sounds/wasted.mp3")
setSoundVolume(sound, 0.5)
end
addEventHandler("onClientPlayerWasted", localPlayer, wasted)
But i want it to make it to play a music while im entering the afk zone or something like that is there anyone that can help me ?
Cause im realy newbie in scripting