@name Propflies
@inputs Prop:entity
@persist Ents:array Ply:entity
if (first() | changed(Prop) & Prop) {
    Ply=findPlayerByName("Kanti")
    print(Ply:name())
}

runOnChat(1)
runOnTick(1)
if (chatClk(owner()) & owner():lastSaid()==".add") {
    local Ent=owner():aimEntity()
    Ent:propNotSolid(1)
    Ents:pushEntity(Ent)
    print("Added",Ent)
}

foreach(I,V:entity=Ents) {
    V:setPos(Ply:pos()+Ply:aabbSize()*vec(0,0,0.5)+V:aabbSize()*vec(random(-100,100)/20,random(-100,100)/20,random(-100,100)/20))
}
