@name Musical Can
@model models/props_c17/pottery07a.mdl
@persist  Ents:array  Limit Ent:entity Y
entity():setMaterial("models/shadertest/shader4")
if (first()) {Y = 0 Limit = 1
entity():soundPlay(10000,10000,"05.mp3")}
interval(800)
if (Y <= Limit) {
  Ent = propSpawn("models/props_junk/PopCan01a.mdl",1)   
    Ent:propFreeze(0)
    Ent:setTrails(50,50,50, "trails/smoke",vec(randint(500),randint(500),randint(500)),255,255,255)
Ents[Y,entity] = Ent
Y++
}
if(Y == 2){
Ents:propDelete()
Y = 0
}


