@persist Prop:entity

if (first()){
    E = entity()

    #propSpawn(Model/Template, Pos, Angle, Frozen/Unfrozen)
    #For a Template you can use any entity, for example using 'entity()' would use the model of the chip

    Prop = propSpawn("models/props_borealis/bluebarrel001.mdl", E:toWorld(vec(0,0,10)), E:angles(), 1)

    #Some other commands that go with this are:

    #Prop:setPos( Vector )
    #Prop:setAng( Angle )
    #Prop:propDelete()
    #Prop:propBreak() #will explode the prop if it is explosive

    runOnLast(1)
} elseif (last()){
    Prop:propDelete()
    #I like to do this so every time you update the chip the old prop is replaced 
    #with a new one.
}
