function lvlUPNG () 
    player = getLocalPlayer() 
    local x,y,z = getElementPosition(player) 
    setElementHealth ( player, getElementHealth(player) + 100 ) 
    exports.infection:giveantivirus() 
    local sound = playSound3D ( "levelup.ogg",x,y,z ) 
    attachElements (sound, player) 
end 
addEvent("lvlUP", true) 
addEventHandler("lvlUP", root,lvlUPNG) 
 
try this. if no work, show how you trigger this event.