ACTOR TruelegendaryExos: LegendaryExos
{
//Creator: Nemesiscaptain(uwu) and Makarov
//Origin: Infinity Gods
//$Sprite TLEX
//$Title "TruelegendaryExos"
Monster
Health 15000
WoundHealth 0
GibHealth 1000
Height 100//110
Radius 35//40
Mass 1000
Speed 40
MeleeRange 400
MinMissileChance 100//160
SEESOUND "Exos/See"
ACTIVESOUND "Exos/Active"
PAINSOUND "Exos/Pain"
DEATHSOUND "Exos/Die"
MeleeSound ""
Monster
+BOSS
+NOFEAR
+BOSSDEATH
+NOICEDEATH
+DONTRIP
+NORADIUSDMG
+DONTMORPH
+TELESTOMP
+NOTELEFRAG
+NOTARGET
-NOINFIGHTING
+ALWAYSFAST
+NOBLOOD
+FLOORCLIP
+NEVERRESPAWN
+SEEINVISIBLE
+MISSILEMORE
+QUICKTORETALIATE
+DONTHARMSPECIES
+NOTIMEFREEZE
DamageFactor "Ice", 0.035
Damagefactor "Divine", 0.00
DamageFactor "Explosion", 0.00
DamageFactor "Crush", 0.00
DamageFactor "Acid", 0.00
DamageFactor "Fire", 0.00
DamageFactor "Poison", 0.00
DamageFactor "PoisonCloud", 0.00
DamageFactor "PyroShot", 0.00
DamageFactor "PlayerPyro", 0.00
DamageFactor "NuclearFire", 0.00
DamageFactor "BFG9500Ball", 0.00
DamageFactor "BFGSplash", 0.00
DamageFactor "UpBFG9500Ball", 0.00
DamageFactor "UpBFGSplash", 0.00
DamageFactor "PDTBFG", 0.00
DamageFactor "PDTBFGTracer", 0.00
DamageFactor "PlayerDevBall", 0.00
DamageFactor "PlayerDevBall2", 0.00
DamageFactor "PlayerDevTracer", 0.00
DamageFactor "PlayerDBFG10K2", -1.0
DamageFactor "PlayerDBFGSplash2", -1.0
DamageFactor "Player", 0.00
DamageFactor "PlayerHellfire", 0.00
DamageFactor "SuperWeapon", 0.00
DamageFactor "PlayerDTRG", 0.00
DamageFactor "DTRailgun", 0.00
DamageFactor "PDTPuff", 0.00
DamageFactor "RailG", 0.00
DamageFactor "PyroShot", 0.00
DamageFactor "PlayerPyro", 0.00
DamageFactor "PlayerBHole", 0.00
DamageFactor "PlayerDBFG", -1.0
DamageFactor "PlayerDBFG2", -1.0
DamageFactor "Legendary", 0.00
DamageFactor "Legendary1", 0.00
DamageFactor "LegendaryPlayer", 0.20
DamageFactor "LegendaryGuru", 0.20
DamageFactor "LegendaryGuruPlayer", 0.20
DamageFactor "PlayerNemesisPlasma", 0.20
DamageFactor "Cursed", 0.50
DamageFactor "Hackroid", 0.50
DamageFactor "TrueLegendaryDamage", 0.20
DamageFactor "TrueLegendaryPlayer", 0.20
//No Infighting
DamageFactor "UltimateLegendary", 0.0
DamageFactor "LegendaryZombie", 0.0
DamageFactor "LACGrenade", 0.0
DamageFactor "LSSGGrenade", 0.0
DamageFactor "ZExplosiveBullets", 0.0
DamageFactor "MiniRocket", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "SoapOpera", 0.0
DamageFactor "HTZombie", 0.0
DamageFactor "ZGrenade", 0.0
DamageFactor "ZombieCannon", 0.0
DamageFactor "GeneralTracer", 0.0
DamageFactor "BloodSkull", 0.0
DamageFactor "BloodElemental", 0.0
DamageFactor "Broat", 0.0
DamageFactor "SatanGuard", 0.0
DamageFactor "CurseComet", 0.0
DamageFactor "HelementalComet", 0.0
DamageFactor "DementedTerminator", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "UBDTR", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "Commander", 0.0
DamageFactor "CerChainguns", 0.0	
DamageFactor "CerEnergyBall", 0.0
DamageFactor "Hell", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "DBFGSplash2", 0.0
// Drops
DropItem "LegendarySphere" 120 1
  DropItem "LegendaryPowerSphere" 100 1
  DropItem "LegendaryBossLifeEssence" 256
  DropItem "LegendaryBossArmorBonusMax" 256 
  DropItem "TrueLegendaryArmor" 120 1 
  DropItem "TrueLegAmmoSphere" 128 1
  DropItem "LDemonAmmoBox" 200 
  DropItem "LDemonAmmo" 250 
  DropItem "Legendary Plasmatic Rifle" 170 1
  DropItem "Legendary Assault Shotgun" 80 1
  DropItem "Legendary Light Machine Gun" 80 1
  DropItem "LegendaryPowerShard" 80 1
  DropItem "TrueLegUpgradeSpawnerWeak" 50 1
  DropItem "TrueLegendaryRune" 10 1
  DropItem "TrueLegendaryCell" 150
  DropItem "TrueLegendaryCellPack" 128
Bloodcolor "Blue"
Obituary "%o was consumed by the storm of destruction known as TruelegendaryExos."
Tag "\c[l5]True\c- \c[z3]Legendary Exos\c-"
var int user_amount;
var int user_music;
var int user_tier;
var int user_missile;

States
	{
  Spawn:
  	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX A 4 A_Look
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX A 10 A_Look
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX A 10 A_Look
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	
	Loop
  Idle:
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_ChangeFlag("NODAMAGE",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX AA 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX BB 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("ExosStep")
	TLEX CC 3 A_Wander
	TNT1 A 0 A_Look
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX DD 3 A_Wander
	TNT1 A 0 A_PlaySound("ExosStep")
	TNT1 A 0 A_Look
	TNT1 A 0 A_Jump(52,"Teleport")
	Loop
  See:
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_ChangeFlag("NODAMAGE",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 ACS_NamedExecuteAlways("SetTLCSky",0)
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,800,995)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_Jump(100,"Rush")
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX AA 3 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX BB 3 A_Chase
	TNT1 A 0 A_PlaySound("ExosStep")
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX CC 3 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX DD 3 A_Chase
	TNT1 A 0 A_PlaySound("ExosStep")
	TNT1 A 0 A_Jump(52,"Teleport")
	Loop
  Rush:
	TLEX A 0 A_PlaySound("ExosStep")
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX A 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX A 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX B 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX B 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)     
	TLEX A 0 A_PlaySound("ExosStep")
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX C 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX C 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX D 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)
	TLEX AA 0 A_Chase
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX D 2 A_SpawnItemEx("TruelegendaryExosGhost",0,0,0,0,0,0,0,128)     
	TNT1 A 0 A_Jump(38,"Teleport")
	TNT1 A 0 A_Jump(75,"See")   
    Loop
  Teleport:
	TLEX E 1 A_UnSetShootable
	TNT1 AAAAAA 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLEX EEEEEEEEEEE 1 A_FadeOut(0.1,0)
	TLEX EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 0 A_Wander
	TLEX EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 0 A_Wander
	TLEX E 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAAAA 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLEX EEEEEEEEEEE 1 A_FadeIn(0.1)
	TLEX E 1 A_SetShootable
	Goto See
  Missile:
	TNT1 A 0
	TNT1 A 0 A_ChangeFlag("FRIENDLY",0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_JumpIfTargetInLOS("ChainGuns",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,600,0)
	TNT1 A 0 A_Jump(256,"Rockets","Rockets2","Rockets3","LegBombs","LegendaryCannonBombs","TrueLegendaryLaserBeam","TrueLegendaryBFG")
  ChainGuns:
		TLEX EEEE 1 A_FaceTarget(45)
		TNT1 A 0 A_SetUserVar("user_missile",0)
  ChainGunsLoop:
	    TNT1 A 0 A_JumpIf(user_missile >= 15,"ChainGunsEnd")	 
	    TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TLEX F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"LegModdedBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("LegendaryBlueTracer",77,23,Random(5,-5),0)
		TLEX E 1 A_SpawnItemEx("BlueShellCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-30,-35),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TLEX F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"LegModdedBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("LegendaryBlueTracer",77,23,Random(5,-5),0)
		TLEX E 1 A_SpawnItemEx("BlueShellCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-40,-45),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
		TLEX F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"LegModdedBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("LegendaryBlueTracer",77,23,Random(5,-5),0)
		TLEX E 1 A_SpawnItemEx("BlueShellCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-40,-45),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		Loop
	ChainGunsEnd:
	    TLEX E 1 A_FaceTarget
	    TNT1 A 0 A_Jump(256,"Rockets","Rockets2","See")
		Goto See
  Rockets:
	TLEX GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX G 4 Bright
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	Goto See
  Rockets2:
	TLEX GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("LegendaryHomingRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX G 4 Bright
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	Goto See
  Rockets3:
	TLEX GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TrueLegendaryExosPyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX G 4 Bright
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	Goto See
  LegBombs:
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	TLEX G 2 A_FaceTarget
	TLEX G 0 A_PlaySound("Petrovec/Fire",1)
    TLEX G 0 A_PlaySound("Petrovec/AddFire",6)
    TLEX H 0 A_PlaySound("Petrovec/Ambient",5)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	TLEX H 2 A_FaceTarget
	TLEX G 2 A_FaceTarget
	TLEX G 0 A_PlaySound("Petrovec/Fire",1)
    TLEX G 0 A_PlaySound("Petrovec/AddFire",6)
    TLEX H 0 A_PlaySound("Petrovec/Ambient",5)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	TLEX H 2 A_FaceTarget
	TLEX G 2 A_FaceTarget
	TLEX G 0 A_PlaySound("Petrovec/Fire",1)
    TLEX G 0 A_PlaySound("Petrovec/AddFire",6)
    TLEX H 0 A_PlaySound("Petrovec/Ambient",5)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	TLEX H 2 A_FaceTarget
	TLEX G 2 A_FaceTarget
	TLEX G 0 A_PlaySound("Petrovec/Fire",1)
    TLEX G 0 A_PlaySound("Petrovec/AddFire",6)
    TLEX H 0 A_PlaySound("Petrovec/Ambient",5)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("TLSBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	TLEX G 2 A_FaceTarget
	Goto See
  LegendaryCannonBombs:
	TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
    TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
    TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
    TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
    TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
    TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	ELEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
    TLEX G 0 A_FaceTarget
	TLEX G 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TLEX H 0 A_CustomMissile("LegRevBall3",79,-15,0,CMF_TRACKOWNER)
    TLEX H 8 A_CustomMissile("LegRevBall3",79,15,0,CMF_TRACKOWNER)
	TLEX GGGGGGGGGGGGGG 0 Bright A_SpawnItemEx("TrueLegendaryLineSpawner")
	TNT1 A 0 A_UnSetShootable
    TLEX GGGGGGGGGGGG 1 A_FadeOut(0.1,0)
	TLEX GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG 0 A_Wander
    TLCD G 5
    TLCD G 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	TLEX GGGGGGGGGGGGG 0 A_SpawnItemEx("TrueLegendaryLineSpawner")
	TLEX GGGGGGGGGGG 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	TLEX G 8 A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TLEX H 0 A_CustomMissile("LegRevBall3",79,-15,0,CMF_TRACKOWNER)
    TLEX H 8 A_CustomMissile("LegRevBall3",79,15,0,CMF_TRACKOWNER)
	TLEX G 8 A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TLEX H 0 A_CustomMissile("LegRevBall3",79,-15,0,CMF_TRACKOWNER)
    TLEX H 8 A_CustomMissile("LegRevBall3",79,15,0,CMF_TRACKOWNER)
	Goto See
  TrueLegendaryLaserBeam:
		TLEX G 30 Bright A_FaceTarget
		TNT1 A 0 A_SetInvulnerable
		TNT1 A 0 A_ChangeFlag("NOPAIN",1)
		TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TLEX G 4 Bright
		TNT1 A 0 A_PlaySound("ultimate/fire", CHAN_AUTO, 1.0, False, ATTN_NONE)
		TNT1 A 0 Bright A_FaceTarget
		TLEX HHHHHHHHHHHHHHHHHHHHH 4 Bright A_CustomMissile("TrueLegendaryLaserBeam",105,0,0,0)
		TNT1 A 0 Bright A_FaceTarget
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_UnsetInvulnerable
		TNT1 A 0 A_ChangeFlag("NOPAIN",0)
		TLEX H 10 Bright A_FaceTarget
		TLEX G 90 Bright A_FaceTarget
		TLEX G 20 Bright A_FaceTarget
	    Goto See
  TrueLegendaryBFG:
    TNT1 A 0 A_SetUserVar(user_missile,0)
	TLEX G 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	TLEX G 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItem("LegendaryCyberFlameSpawner",0,0,0,0)
	TLEX E 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")
  TrueLegendaryBFGLoop:
	TNT1 A 0 A_FaceTarget
	TLEX G 3 Bright A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 37,"TrueLegendaryBFGEnd")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  TrueLegendaryBFGEnd:
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
  	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	TLEX H 0 A_CustomMissile("CardinalSpecialGuruball",60,-26,0)
	TLEX H 5 Bright A_CustomMissile("CardinalSpecialGuruball",60,26,0)
	TLEX GGGGGGGGGGGGG 0 A_SpawnItemEx("TrueLegendaryCyberFlameSpawner")
	TLEX GGGGGGGGGGG 1 A_FadeOut(0.1,0)
	TLEX GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG 0 A_Wander
	TLEX G 20
	TLEX G 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	TLEX GGGGGGGGGGGGG 0 A_SpawnItemEx("TrueLegendaryCyberFlameSpawner")
	TLEX GGGGGGGGGGG 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	TLEX H 0 A_CustomMissile("CardinalSpecialGuruball",60,-26,0)
	TLEX H 5 Bright A_CustomMissile("CardinalSpecialGuruball",60,26,0)
	TLEX G 60 Bright A_faceTarget
	Goto See
  Pain:
	TLEX I 8 A_Pain
	Goto See 	
  PainMissile: 
	TLEX I 10 A_Pain 	
	Goto Missile
  XDeath:
  Death:
	TLEX I 4 A_Scream
	TNT1 A 0 A_TakeInventory("Tic",999999)
	TNT1 AA 0 A_SpawnItemEx("LegBlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud",random(10,80),0,random(0,360),2,random(0,360))
	TLEX JJJKKK 5 Bright A_CustomMissile("PainfulDeathKaboom",random(10,60),random(30,-30),random(0,360),2,random(0,360))
	TNT1 AA 0 A_SpawnItemEx("LegBlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud",random(10,80),0,random(0,360),2,random(0,360))
	TNT1 A 0 A_SpawnItemEx("LegTerminatorNukeDeath",0,0,0,0,0,0,0,SXF_SETMASTER,0)
	TLEX LLLMMM 2 Bright A_CustomMissile("PainfulDeathKaboom",random(10,60),random(30,-30),random(0,360),2,random(0,360))
	TNT1 AA 0 A_SpawnItemEx("LegBlueGibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAA 0 A_CustomMissile("BigBlueBloodCloud",random(10,80),0,random(0,360),2,random(0,360))
	TLEX NNNOOO 2 Bright A_CustomMissile("PainfulDeathKaboom",random(10,60),random(30,-30),random(0,360),2,random(0,360))
	TNT1 A 0 A_SpawnItemEx("Legendary Assault Shotgun",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCoachgun",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Legendary Light Machine Gun",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Legendary Plasmatic Rifle",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryBFG10K",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Legendary Plasmatic Cannon",0,0,64,random(0,8),0,2,random(1,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Legendary BFG",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Jetpack",0,0,64,random(0,8),0,2,random(0,360),0,80)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryUltraSphere",0,0,64,random(1,8),0,2,random(0,360),0,64)
	TNT1 AAAA 0 A_DropItem("LegendaryRune",1,64)
	TNT1 A 0 A_DropItem("TrueLegendaryRune",1,64)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryExosGib",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryExosGib2",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryExosGib3",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryExosGib4",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryExosGib5",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_PlaySound("Exos/Die")
	TLEX PQ 4
	TLEX R -1
	Stop
	}
}
ACTOR TruelegendaryExosGhost
{
Scale 1.4
RENDERSTYLE Translucent
Alpha 0.75
+NOGRAVITY
+CLIENTSIDEONLY
+DONTSPLASH
+NOINTERACTION
+NOCLIP
States
{
Spawn:
    TLEX A 2 A_FadeOut(0.18)
    Loop
    }
} 
  
Actor TrueLegendaryExosGib
{
Projectile
Mass 50
Height 10
Radius 10
Speed 0
Bouncecount 2
BounceFactor 0.7
WallBounceFactor 0.75
BounceType "Doom"
+DOOMBOUNCE
+BOUNCEONWALLS
+BOUNCEONFLOORS
+BOUNCEONACTORS
+MOVEWITHSECTOR
-NOGRAVITY
+CLIENTSIDEONLY
BounceSound "Exos/Gib1"
WallBounceSound "Exos/Gib1"
States
{
  Spawn:
	TLEX S 1
	Loop
  Death:
	TLEX S 2100
	TLEX S 5 A_FadeOut(0.1,1)
	Wait
	}
}

Actor TrueLegendaryExosGib2 : TrueLegendaryExosGib
{
States
{
  Spawn:
	TLEX T 1
	Loop
  Death:
	TLEX T 2100
	TLEX T 5 A_FadeOut(0.1,1)
	Wait
	}
}

Actor TrueLegendaryExosGib3 : TrueLegendaryExosGib
{
States
{
  Spawn:
	TLEX U 1
	Loop
  Death:
	TLEX U 2100
	TLEX U 5 A_FadeOut(0.1,1)
	Wait
	}
}

Actor TrueLegendaryExosGib4 : TrueLegendaryExosGib
{
States
{
  Spawn:
	TLEX V 1
	Loop
  Death:
	TLEX V 2100
	TLEX V 5 A_FadeOut(01.1,1)
	Wait
	}
}

Actor TrueLegendaryExosGib5 : TrueLegendaryExosGib
{
States
{
  Spawn:
	TLEX W 1
	Loop
  Death:
	TLEX W 2100
	TLEX W 5 A_FadeOut(0.1,1)
	Wait
	}
}


	
	
	
	

	
	

	
	
	
	

	
	
  
	
  
	
	
  
	

		
		
		
	