Sound in the pick up items

I have a script for pick up items and
I want to put the sound when the collect items
what is right way?

#pragma strict
var speed:int=5;
var timeBonus:int;

function Update() {

transform.Rotate(Vector3.up * Time.deltaTime*speed, Space.World);


function OnTriggerEnter (other : Collider)

GlobalVariables.time +=timeBonus;	


Look at script ref for AudioClip and

Look at “Play”, “PlayOneShot”, and “PlayClipAtPoint”, you’d use one of these methods in your OnTriggerEnter function. In some cases, you want to be sure you’re audio isn’t already playing by checking if(audio.isPlaying).