@name Lord of FailCake Rings
@persist Timer Player:entity R G B T

runOnChat(1)

if (lastSaid()=="music1") {soundPlay(0,10000,"music/VLVX_song4.mp3")} 
if (lastSaid()=="music2") {soundPlay(0,0,"")} 
if (lastSaid()=="music3") {soundPlay(0,10000,"music/HL1_song10.mp3")} 
if (lastSaid()=="music4") {soundPlay(0,10000,"music/HL1_song25_remix3.mp3")}
if (lastSaid()=="music5") {soundPlay(0,10000,"music/portal_still_alive.mp3")}
if (lastSaid()=="music6") {soundPlay(0,10000,"music/HL2_song20_submix4.mp3")}
if (lastSaid()=="music7") {soundPlay(0,10000,"music/HL2_song23_suitsong3.mp3")}

interval(1)

runOnTick(1)
EE=entity() #Expression Entity
applyForce(((owner():shootPos()+vec(0,0,40)-EE:pos())*5-EE:vel())*EE:mass())
#the +vec(0,0,50) part is so that it floats above your head instead hitting it.


Timer=Timer+0.6*0.3
T=Timer

R = random(255)
G = random(255)
B = random(255)


if(first()) {holoCreate(1) holoCreate(2) Player = entity()
    #findPlayerByName("FailCake")
}
    

holoModel(1,"torus3")
holoAng(1,ang(T,T,T))
holoColor(1,vec(255,215,0))
holoAlpha(1, 100)
holoScale(1, vec(-2.5,-2.5,-2.5))
holoModel(2,"torus3")
holoPos(2,Player:pos())
holoPos(1,Player:pos())
holoAng(2,ang(T,T,T))
holoColor(2,vec(255,215,0))
holoScale(2, vec(2.5,2.5,2.5))
holoParent(1, Player)
holoParent(2, Player)

##PROTECTION SISTEM MUAHAHAHAH##

if(duped()){selfDestructAll()}

entity():setColor(0,0,0)
entity():setMaterial("models/shadertest/predator")

runOnChat(1)
if (lastSaid():lower() == "hi") {
    interval(150)
    concmd("say |Lord of FailCake Rings| Hi "+lastSpoke():name()+" :D")
}
if (lastSaid():lower() == "who is failcake") {
    interval(150)
    concmd("say |Lord of FailCake Rings|"+lastSpoke():name()+" FailCake Is GOD!")
}
if (lastSaid():lower() == "who am i") {
    interval(150)
concmd("say |Lord of FailCake Rings| You are "+lastSpoke():name()+ " :D ")
}
if (lastSaid():lower() == "who is admin?") {
    interval(150)
concmd("say |Lord of FailCake Rings|"+lastSpoke():name()+ " I am Admin !")
}
if (lastSaid():lower() == "lol") {
    interval(150)
concmd("say |Lord of FailCake Rings| HAHA!")
}
if (lastSaid():lower() == "hello") {
    interval(150)
    concmd("say |Lord of FailCake Rings| hello "+lastSpoke():name()+" :D")
}
if (lastSaid():lower() == "fail!") {
    interval(150)
concmd("say |Lord of FailCake Rings| Failure!")
}
if (lastSaid():lower() == "Fail!") {
    interval(150)
concmd("say |Lord of FailCake Rings| Failure!")
}
if (lastSaid():lower() == "stfu") {
    interval(150)
concmd("say |Lord of FailCake Rings| :O Your a Faggot!")
}
if (lastSaid():lower() == "noob") {
    interval(150)
concmd("say |Lord of FailCake Rings| :O Here!?!?!")
}
if (lastSaid():lower() == "die") {
    interval(150)
concmd("say |Lord of FailCake Rings| WTF!?!! You Die!")
}
if (lastSaid():lower() == "what is pie?") {
    interval(150)
concmd("say |Lord of FailCake Rings| Did you know that 80 percent of pie is cake :D?")
}
if (lastSaid():lower() == ">:(") {
    interval(150)
concmd("say |Lord of FailCake Rings| Calm Down...Be happy!")
}
if (lastSaid():lower() == "lord of failcake rings") {
    interval(150)
concmd("say |Lord of FailCake Rings| You called :D?")
}
if (lastSaid():lower() == "ring") {
    interval(150)
concmd("say |Lord of FailCake Rings| My precious! ITS ALL MINE! MINE!!!!")
}
if (lastSaid():lower() == "who is lutsi") {
    interval(150)
concmd("say |Lord of FailCake Rings| Lutsi is also your GOD! And admin!")
}
if (lastSaid():lower() == "who is bromvlieg") {
    interval(150)
concmd("say |Lord of FailCake Rings| Brom is the master of Wire and E2 . Also hes the owner!")
}
if (lastSaid():lower() == "who is brom") {
    interval(150)
concmd("say |Lord of FailCake Rings| Brom is the master of Wire and E2 . Also hes the owner!")
}
if (lastSaid():lower() == "the last combine") {
    interval(150)
concmd("say |Lord of FailCake Rings| Thats the movie that we are making! :D")
}
if (lastSaid():lower() == "lol!") {
    interval(150)
concmd("say |Lord of FailCake Rings| LOL!! :D")
}

##Kill D:##

if(chatClk(owner()) & owner():lastSaid():left(4) == "kill") {
selfDestructAll()
print("Deleted D:")
}

if (lastSaid():lower() == "credits") {
    interval(150)
concmd("say |Lord of FailCake Rings| Made by FailCake!")
}
if (lastSaid():lower() == "back") {
    interval(150)
concmd("say |Lord of FailCake Rings| Welcome Back!")
}
if (lastSaid():lower() == "who is jack") {
    interval(150)
concmd("say |Lord of FailCake Rings| Jack Is a pro at E2! And admin!")
}
if (lastSaid():lower() == ":3") {
    interval(150)
concmd("say |Lord of FailCake Rings| Happy face ^^")
}
if (lastSaid():lower() == ":D") {
    interval(150)
concmd("say |Lord of FailCake Rings| Smile =D ^^")
}
if (lastSaid():lower() == ":)") {
    interval(150)
concmd("say |Lord of FailCake Rings| Smile =) ^^")
}
if (lastSaid():lower() == ":(") {
    interval(150)
concmd("say |Lord of FailCake Rings| Why sad face D:")
}
if (lastSaid():lower() == "D:") {
    interval(150)
concmd("say |Lord of FailCake Rings| Why are you sad D: ?")
}
