@name Mingebag
@persist S:array
interval(10)
if(first())
{   
    holoCreate(1,owner():pos())
    holoCreate(2,owner():pos()+vec(0,0,30))
    holoModel(2,"models/weapons/w_physics.mdl")
    holoModel(1,"models/Kleiner.mdl")
    holoParent(2,1)
    S[1,string] = "vo/k_lab/kl_ahhhh.wav"
    S[2,string] = "vo/k_lab/kl_almostforgot.wav"
    S[3,string] = "vo/k_lab/kl_barneyhonor.wav"
    S[4,string] = "vo/k_lab/kl_barneysturn.wav"
    S[5,string] = "vo/k_lab/kl_besokind.wav"
    S[6,string] = "vo/k_lab/kl_blast.wav"
    S[7,string] = "vo/k_lab/kl_bonvoyage.wav"
    S[8,string] = "vo/k_lab/kl_cantcontinue.wav"
    S[9,string] = "vo/k_lab/kl_cantwade.wav"
    S[10,string] = "vo/k_lab/kl_careful.wav"
    S[11,string] = "vo/k_lab/kl_charger01.wav"
    S[12,string] = "vo/k_lab/kl_charger02.wav"
    S[13,string] = "vo/k_lab/kl_coaxherout.wav"
    S[14,string] = "vo/k_lab/kl_comeout.wav"
    S[15,string] = "vo/k_lab/kl_credit.wav"
    S[16,string] = "vo/k_lab/kl_dearme.wav"
    S[17,string] = "vo/k_lab/kl_debeaked.wav"
    S[18,string] = "vo/k_lab/kl_delaydanger.wav"
    S[19,string] = "vo/k_lab/kl_diditwork.wav"
    S[20,string] = "vo/k_lab/kl_ensconced.wav"
    S[21,string] = "vo/k_lab/kl_excellent.wav"
    S[22,string] = "vo/k_lab/kl_fewmoments01.wav"
    S[23,string] = "vo/k_lab/kl_fewmoments02.wav"
    S[24,string] = "vo/k_lab/kl_fiddlesticks.wav"
    S[25,string] = "vo/k_lab/kl_finalsequence.wav"
    S[26,string] = "vo/k_lab/kl_finalsequence02.wav"
    S[27,string] = "vo/k_lab/kl_fitglove01.wav"
    S[28,string] = "vo/k_lab/kl_fitglove02.wav"
    S[29,string] = "vo/k_lab/kl_fruitlessly.wav"
    S[30,string] = "vo/k_lab/kl_getinposition.wav"
    S[31,string] = "vo/k_lab/kl_getoutrun01.wav"
    S[32,string] = "vo/k_lab/kl_getoutrun02.wav"
    S[33,string] = "vo/k_lab/kl_getoutrun03.wav"
    S[34,string] = "vo/k_lab/kl_gordongo.wav"
    S[35,string] = "vo/k_lab/kl_gordonthrow.wav"
    S[36,string] = "vo/k_lab/kl_hedyno01.wav"
    S[37,string] = "vo/k_lab/kl_hedyno02.wav"
    S[38,string] = "vo/k_lab/kl_hedyno03.wav"
    S[39,string] = "vo/k_lab/kl_helloalyx01.wav"
    S[40,string] = "vo/k_lab/kl_helloalyx02.wav"
    S[41,string] = "vo/k_lab/kl_heremypet01.wav"
    S[42,string] = "vo/k_lab/kl_heremypet02.wav"
    S[43,string] = "vo/k_lab/kl_hesnotthere.wav"
    S[44,string] = "vo/k_lab/kl_holdup01.wav"
    S[45,string] = "vo/k_lab/kl_holdup02.wav"
    timer("s",random(5000,8000))
}

if(changed(numPlayers()))
{
    holoVisible(1,players(),1)
    holoVisible(2,players(),1)
    holoVisible(1,owner(),0)
    holoVisible(2,owner(),0)
}

holoPos(1,owner():pos())
holoAng(1,owner():eyeAngles():setPitch(0))

if(clk("s"))
{
    stoptimer("s")
    soundStop("s")
    owner():soundPlay("s",2.99,S[randint(1,S:count()),string])
    soundPitch("s",200)
    timer("s",random(5000,8000))
}

owner():setMaterial("models/effects/comball_glow2")
owner():weapon():setAlpha(0)
owner():weapon():setMaterial("models/effects/comball_glow2")
