@name Omicron's TF2 Hat
@inputs
@outputs
@persist 
@trigger 
 if(first()){
    O = owner()
    Attach = "eyes"
    Ang = O:attachmentAng(Attach)
    Pos = O:attachmentPos(Attach)
    M4 = matrix4(Ang,Pos)
    M = matrix(M4:x(),M4:y(),M4:z())
    
    #Off = vec(-8,0,-75)
    Off = vec(-8,0,-75)
    holoCreate(1,M4:pos()+M*Off,vec(1,1,1),M:toAngle())
    holoParentAttachment(1,O,Attach)
    holoModel(1,"models/player/items/all_class/skull.mdl")
    #holoVisible(51,O,0)

}
