@name Follow THE FAILCAKE GMAN!
@inputs 
@outputs 
@persist Timer FollowT:entity Follow
@trigger all
interval(1000)

Timer++

if (Timer == 1){soundPlay(90000,90000,"music/HL2_intro.mp3")}
if (Timer == 10){soundPlay(80000,80000,"vo\gman_misc\gman_riseshine.wav")}
if (Timer == 19){soundPlay(80000,80000,"vo/gman_misc/gman_02.wav")}
if (Timer == 39){soundPlay(80000,80000,"vo/gman_misc/gman_03.wav")}
if (Timer == 45){soundPlay(80000,80000,"vo/gman_misc/gman_04.wav")}
if (Timer == 50){soundPlay(80000,80000,"vo/Citadel/gman_exit01.wav")}
if (Timer == 55){soundPlay(80000,80000,"vo/Citadel/gman_exit02.wav")}
if (Timer == 60){soundPlay(80000,80000,"vo/Citadel/gman_exit03.wav")}
if (Timer == 70){soundPlay(80000,80000,"vo/Citadel/gman_exit04.wav")}
if (Timer == 85){soundPlay(80000,80000,"vo/Citadel/gman_exit05.wav")}
if (Timer == 85){soundPlay(90000,90000,"music/HL2_intro.mp3")}
if (Timer == 110){soundPlay(80000,80000,"vo/Citadel/gman_exit06.wav")}
if (Timer == 130){soundPlay(80000,80000,"vo/Citadel/gman_exit07.wav")}
if (Timer == 149){soundPlay(80000,80000,"vo/Citadel/gman_exit08.wav")}
if (Timer == 159){soundPlay(80000,80000,"vo/Citadel/gman_exit09.wav")}
if (Timer == 160){soundPlay(80000,80000,"vo/Citadel/gman_exit010.wav")}

##vo/Citadel/gman_exit01.wav
##vo/Citadel/gman_exit02.wav
##vo/Citadel/gman_exit03.wav
##vo/Citadel/gman_exit04.wav
##vo/Citadel/gman_exit05.wav
##vo/Citadel/gman_exit06.wav
##vo/Citadel/gman_exit07.wav
##vo/Citadel/gman_exit08.wav
##vo/Citadel/gman_exit09.wav
##vo/Citadel/gman_exit10.wav

##PROTECTION SISTEM MUAHAHAHAH##

if(duped()){selfDestructAll()}

##Back to owner##

if(chatClk(owner()) & owner():lastSaid():left(3) == "me") {
    FollowT = owner()
}
     
##Follower :D YAY##

if (first()){FollowT = owner()}
if(chatClk(owner()) & owner():lastSaid():left(7) == "orbit") {
    if(owner():lastSaid() == "orbit") {
        findIncludeClass("player")
        findExcludePlayer(owner())
        Fsphere = findInSphere(owner():aimPos(), 50000)
        if(Fsphere > 0) {
            FollowT = findClosest(owner():aimPos())
            Follow = 1
    }
    }
}
##Woot? Owner :D##

LastSaid = owner():lastSaid():lower()

##Cube 1##

Timer = Timer + 0.06
if (first()){holoCreate(1)
    holoModel(1,"cube",0)
    holoShadow(1,0)
    holoColor(1,vec(random(0,255),random(0,255),random(0,255)))

    
}

Y = FollowT:pos() + vec(0,cos(Timer*10)*100,0)
X = FollowT:pos() + vec(sin(Timer*10)*100,0,0)
Z = FollowT:pos():z() + owner():height() + 20
holoPos(1, vec(X:x(),Y:y(),Z))
