Newbie at scripting and I am already running into trouble! My goal is to have my object play a sound at delayed intervals after being touched and stop the sounds when touched again. integer on = FALSE; string soundname = "soundfilename"; default { state_entry() { on = FALSE; soundname = llGetInventoryName(INVENTORY_SOUND, 0); } touch_start(integer total_number) { if(llDetectedKey(0) != llGetOwner()) return; if(soundname != "") { if(on) llStopSound(); else llSetTimerEvent(15); llLoopSound(soundname, 1); on = !on; } } } When it is touched the sound loops continuously so something in my script is off but being a novice I am not sure where it errs. Any help would be appreciated.