@persist A
A=!A
if (first()) {
    holoCreate(1)
    holoEntity(1):removeTrails()
    holoPos(1,entity():pos())
    holoEntity(1):setTrails(15,15,50000,"trails/laser",vec(255,0,0),255)
}
interval(500)
if (A) {
    Offset=vec(random(-500,500),random(-500,500),random(1000,1800))
    local V=propSpawn("models/props_phx/misc/smallcannonball.mdl",entity():pos()+Offset,0)
    holoPos(1,V:pos())
    V:propBreak()
}
if (!A) {
    #holoPos(1,entity():pos())
}
holoAlpha(1,0)
