ACTOR LegendaryInsanityClockworkCydestroyer //My great and worst creation!
{ 
  Monster
  Health 8500
  Radius 20
  Height 55
  Mass 10000
  Speed 37
  PainChance 2
  Scale 1.30
  Damagefactor 0.15
  Obituary "%o He was not a great adversary for the \c[i7]Insanity Clockwork Cydestroyer\c-!"
  Species "Nobles"
  SeeSound "EnragedCyberdemon/Sight" 
  PainSound "EnragedCyberdemon/pain"
  DeathSound "NemesisCyberNoble/death"
  ActiveSound "NemesisCyberNoble/active"
  DamageFactor "PlayerNemesisPlasma", 0.1
  DamageFactor "TrueLegendaryDamage", 0.3
  DamageFactor "TrueLegendaryPlayer", 0.3
  DamageFactor "Hackroid", 0.2
  DamageFactor "InsanityHell", 0.0
  DamageFactor "SS", 0.01
  DamageFactor "Hell", 0.01
  DamageFactor "Exos", 0.01
  DamageFactor "Cyber10K", 0.1
  DamageFactor "Legendary", 0.0
  DamageFactor "T3rm", 0.1
  DamageFactor "NobleComet", 0.1
  DamageFactor "Explosion", 0.1
  DamageFactor "PlayerDTRG", 0.2
  DamageFactor "DTRailgun", 0.2
  DamageFactor "PDTBFG", 0.2
  DamageFactor "PDTBFGTracer", 0.15
  DamageFactor "PlayerDevBall", 0.125
  DamageFactor "PlayerDevBall2", 0.125
  DamageFactor "PlayerDevTracer", 0.125
  DamageFactor "PlayerPyro", 0.1
  DamageFactor "PlayerFireSword", 0.75
  DamageFactor "PlayerBHole", 0.25
  DamageFactor "PlayerDBFG2", 0.1
  DamageFactor "PlayerDBFG10K2", 0.1
  DamageFactor "PlayerDBFGSplash2", 0.1
  DamageFactor "LegendaryPlayer", 0.1
  DamageFactor "PlayerHellfire", 0.1
  DamageFactor "CustomSpray", 0.1
  DamageFactor "BFG9500Ball", 0.1
  DamageFactor "BeheComet", 0.1
  DamageFactor "FatFlamer", 0.1
  Damagefactor "SatanGuard", 0.1
  Damagefactor "CurseComet", 0.1
  DamageFactor "BeheComet", 0.1
  DamageFactor "FatFlamer", 0.1
  DamageFactor "SoulToxic", 0.1
  DamageFactor "Cacolich", 0.1
  DamageFactor "Baby15K", 0.1
  DamageFactor "VilesFire", 0.1
  DamageFactor "CadaverRocket", 0.1
  DamageFactor "SuperWeapon", 0.1
  DamageFactor "Normal", 0.1
  DamageFactor "C0mm4nder", 0.1
  DamageFactor "HFCyb3r", 0.1
  DamageFactor "Commander", 0.1
  DamageFactor "HFCyber", 0.1
  DamageFactor "DementedTerminator", 0.1
  DamageFactor "DBFG10K2", 0.1
  DamageFactor "DemolisherEx", 0.1
  DamageFactor "DarkDemoEx", 0.1
  DamageFactor "CerChainguns", 0.1
  DamageFactor "CerEnergyBall", 0.1
  DamageFactor "DBFG", 0.1
  DamageFactor "LegendaryGuru", 0.0
  DamageFactor "LegendaryGuruPlayer", 0.0
  DamageFactor "BFGSplash", 0.0
  DamageFactor "BFGSpray", 0.0
  DamageFactor "Ice", 0.0
  DamageFactor "PyroShot", 0.0
  // Yes, Infight
  DropItem "BossLifeEssence" 200 25
  DropItem "BossArmorBonusMax" 200 1
  DropItem "NewCellPack" 128
  DropItem "DemonAmmoBox" 128 200
  DropItem "NewShell" 256
  DropItem "NewShellBox" 224
  DropItem "Grenade Launcher" 184
  DropItem "BFG10K " 200 1
  DropItem "Railgun " 200 1
  DropItem "DemonicChalice" 128 1
  DropItem "SkullOfPower" 256 1
  DropItem "Demon Tech Devastator" 256 1
  DropItem "Demon Tech BFG10K" 256 1
  DropItem "Explosive Minigun" 256 1
  DropItem "ExplosiveRailgun" 200 1
  DropItem "Explosive Shotgun" 200
  DropItem "Rocket Launcher" 256
  DropItem "HomingRocketLauncher" 200
  DropItem "LegendaryRune", 256, 3
  DropItem "TrueLegendaryRune", 256, 1
  DropItem "CannongunSphere" 256
  DropItem "EFG9000", 256
  DropItem "HeavyGrenadeLauncher", 256
  DropItem "HellfireUltrasphere", 256
  DropItem "LegendaryUltraSphere" 256 1
  DropItem "LegendaryBFG10k" 256 1
  DropItem "TrueLegTimeFreezeSphere" 256 1
  DropItem "TrueLegAmmoSphere" 256 1
  DropItem "RareRandomTrueLegItems" 110 1
  DropItem "TrueLegendaryArmor" 120 1
  DropItem "TrueLegendaryCell" 256 1
  DropItem "TrueLegendaryCell" 128 1
  DropItem "TrueLegendaryCellPack" 128 1
  DropItem "LegendaryFusionCell" 128 1
  DropItem "Legendary Fusion Cannon" 120 1
  Tag "\c[z3]Legendary Insanity Clockwork Cydestroyer?!\c-"
  +BOSS
  +BOSSDEATH
  +NOICEDEATH
  +DONTGIB
  +FLOORCLIP
  +MISSILEMORE
  +MISSILEEVENMORE
  +NOTARGET
  //+NOTIMEFREEZE
  +NEVERRESPAWN
  +DONTMORPH
  +QUICKTORETALIATE
  +NOFEAR
  +NOTELEFRAG
  +DONTHURTSPECIES
  +DONTHARMSPECIES
  +CANUSEWALLS
  +NOBLOCKMONST
  var int user_UltimateDevastator;
  var int user_missile;
  var int user_10K2;
  var int user_music;
  States 
  { 
  Spawn:
    TNT1 A 0 NoDelay A_Jump(210,"Remove")
  Idle:
    LcWC A 25 A_Look
	TNT1 AA 0 A_SpawnItem("LHellionSmokeSpawner")
    Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("LegendaryCybruiser",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,3)
    TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6831,784)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_JumpIfHealthLower(6500,"SeeEnraged")
    TNT1 A 0 A_Jump(62,"Rush")
    LcWC AAABBB 3 A_Chase
    TNT1 A 0 A_PlaySoundEx("spider/walk","body")
    LcWC CCCDDD 3 A_Chase
    TNT1 A 0 A_Playsound("monster/bruwlk")
    Loop
  SeeEnraged:
    TNT1 A 0 A_Jump(62,"Rush")
    LcWC AAA 2 A_Chase
    LcWC BBB 2 A_Chase
    TNT1 A 0 A_PlaySoundEx("spider/walk","body")
    LcWC CCC 2 A_Chase
    LcWC DDD 2 A_Chase
    TNT1 A 0 A_Playsound("monster/bruwlk")
    Loop
  Rush:
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostA",0,0,0,0,0,0,0,128)
	LcWC A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostA",0,0,0,0,0,0,0,128)
	LcWC A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostB",0,0,0,0,0,0,0,128)
	LcWC B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostB",0,0,0,0,0,0,0,128)
	LcWC B 1 A_Chase
    TNT1 A 0 A_PlaySoundEx("spider/walk","body")
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostC",0,0,0,0,0,0,0,128)
	LcWC C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostC",0,0,0,0,0,0,0,128)
	LcWC C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostD",0,0,0,0,0,0,0,128)
	LcWC D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("LegoInsaneCydestroyerGhostD",0,0,0,0,0,0,0,128)
	LcWC D 1 A_Chase
    TNT1 A 0 A_Playsound("monster/bruwlk")
	TNT1 A 0 A_Jump(42,"See")
	Loop
  MissileEnraged:
	TNT1 A 0 A_JumpIf(user_UltimateDevastator == 1,2)
    TNT1 A 0 A_JumpIfHealthLower(500,"UltimateDevastator")
    TNT1 A 0 A_JumpIfCloser(100,"InsanityExplosiveSSG")
    TNT1 A 0 A_Jump(128,"InsanityHomingRockets","InsanityBFG10K","InsanityBFG15Kfast","InsanityExplosiveMinigun","TrueInsanityGrenades","TrueInsanityRailgun")
	TNT1 A 0 A_Jump(64,"AntiLegendaryBlastCombo","TrueInsanityLasers","SpreadRailgun","MiniDTBFG")
	TNT1 A 0 A_Jump(32,"InsanityDTBFG10K","TrueExplosiveRailgun")
	TNT1 A 0 A_Jump(8,"EFGNuke")
	Goto InsanityRockets
  Missile:
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage",1,"MissileEnraged")
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"MissileEnraged")
	//TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem",1,"MissileEnraged")
	TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem2",1,"MissileEnraged")
	TNT1 A 0 A_JumpIf(user_UltimateDevastator == 1,2)
    TNT1 A 0 A_JumpIfHealthLower(500,"UltimateDevastator")
    TNT1 A 0 A_JumpIfCloser(75,"ExplosiveSSG")
    TNT1 A 0 A_Jump(128,"HomingRockets","BFG10K","BFG15KFast","InsanityExplosiveMinigun","InsanityGrenades","InsanityRailgun")
	TNT1 A 0 A_Jump(64,"AntiLegendaryBlastCombo","InsanityLasers","SpreadRailgun","MiniDTBFG")
	TNT1 A 0 A_Jump(32,"InsanityDTBFG10K","ExplosiveRailgun")
	TNT1 A 0 A_Jump(8,"EFGNuke")
  Normal:
    TNT1 A 0 A_JumpIfHealthLower(6000,"InsanityRockets")
    LcWC E 5 A_FaceTarget 
    LcWC F 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
    LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
	LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
    LcWC E 5 A_FaceTarget 
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
	LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget 
    LcWC F 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC F 3 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC F 3 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget 
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC F 3 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3
	TNT1 A 0 A_Jump(128,"HomingRockets","BFG15KFast","InsanityExplosiveMinigun")
	Loop
  InsanityRockets:
    LcWC E 3 A_FaceTarget 
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-14,14),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-14,14),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
	LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget 
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
	LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("LegendaryRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("LegendaryRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("LegendaryRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("LegendaryRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("LegendaryRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryRocket",70,-20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("LegendaryRocket",70,20,random(-16,16),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2
	TNT1 A 0 A_Jump(128,"HomingRockets","BFG15KFast","InsanityExplosiveMinigun","InsanityLasers")
	Loop
  HomingRockets:
    TNT1 A 0 A_JumpIfHealthLower(2750,"InsanityHomingRockets")
    LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 5 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-2,2),0)
    LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-3,3),0)
	LcWC F 5 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-3,3),0)
    LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-3,3),0)
	LcWC F 5 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-3,3),0)
	LcWC E 5 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-2,2),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-3,3),0)
	LcWC F 3 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-3,3),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-2,2),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-3,3),0)
	LcWC F 3 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-3,3),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-2,2),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-3,3),0)
	LcWC F 3 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-3,3),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-2,2),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-2,2),0)
    LcWC E 3
	TNT1 A 0 A_Jump(128,"HomingRockets","BFG15KFast","BFG10K","InsanityLasers")
	Loop
  InsanityHomingRockets:
    LcWC E 3 A_FaceTarget 
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget 
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget 
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-6,6),0)
	LcWC H 3 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-6,6),0)
    LcWC E 3 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("TrueLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
	LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,-20,random(-24,3),0)
    LcWC H 0 A_CustomMissile("LegendaryHomingRocket",70,20,random(-3,24),0)
	LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryHomingRocket",70,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("OldLegendaryHomingRocket",40,-26,random(-8,8),0)
	LcWC H 2 Bright A_CustomMissile("OldLegendaryHomingRocket",40,26,random(-8,8),0)
	LcWC E 2
	TNT1 A 0 A_Jump(128,"InsanityGrenades","MiniDTBFG","InsanityExplosiveMinigun","InsanityLasers")
	Loop
  InsanityGrenades:
    TNT1 A 0 A_JumpIfHealthLower(4500,"TrueInsanityGrenades")
	LcWC E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC F 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC F 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_Jump(128,"TrueInsanityGrenades","BFG15KFast","AntiLegendaryBlastCombo","InsanityLasers")
	TNT1 A 0 A_Jump(64,"InsanityMines")
	Loop
  TrueInsanityGrenades:
	LcWC E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("LegJetpackGrenade",70,20,random(-12,12),0)
	LcWC H 0 A_CustomMissile("LegJetpackGrenade",40,-20,Random(6,-6))
	LcWC H 5 Bright A_CustomMissile("LegJetpackGrenade",40,20,Random(6,-6))
	LcWC E 6 A_FaceTarget
	TNT1 A 0 A_Jump(128,"SpreadRailgun","BFG15KFast","AntiLegendaryBlastCombo","InsanityLasers","InsanityRailgun")
	TNT1 A 0 A_Jump(64,"InsanityMines")
	Loop
   SpreadRailgun:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
    LcWC E 25 A_FaceTarget
	LcWC E 2 A_FaceTarget
	LcWC E 1
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,20,30)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,20,27)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,20,24)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,20,21)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,20,18)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,20,15)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,20,12)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,20,9)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,20,6)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,20,3)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,20,0)

	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-20,-30)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,-20,-27)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-20,-24)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,-20,-21)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-20,-18)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,-20,-15)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-20,-12)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,-20,-9)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-20,-6)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,-20,-3)
	LcWC F 5 Bright A_CustomMissile("TrueLegendaryCardinalRail",40,-20,0)
    LcWC E 20
	TNT1 A 0 A_Jump(128,"HomingRockets","BFG15KFast","InsanityExplosiveMinigun")
	Loop
  BFG10K:
    TNT1 A 0 A_JumpIfHealthLower(6250,"InsanityBFG10K")
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	LcWC EEEE 6 A_FaceTarget
  BFG10KLoop:
    TNT1 A 0 A_JumpIf(user_missile >= 15,"BFG10KEnd")
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",44,-26,Random(-8, 8))
	LcWC F 3 A_CustomMissile("NewLegendary10KProjectile",44,26,Random(-8, 8))
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",44,-26,Random(-8, 8))
	LcWC F 3 Bright A_CustomMissile("TrueLegendary10KProjectile",44,26,Random(-8, 8))
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
    Loop
  BFG10KEnd:
    TNT1 A 0 A_Jump(128,"BFG10K2","BFG10KPause")
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_SetUserVar(user_10K2,0)
    LcWC E 20 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(128,"InsanityLasers","SpreadRailgun","InsanityGrenades","InsanityMines")
	Goto See
  BFG10KPause:
    TNT1 A 0 A_JumpIf(user_missile >= 100,"BFG10KEnd")
	TNT1 A 0 A_JumpIfTargetInLOS("BFG10K2")
	LcWC E 4 A_SpawnItem("LHellionSmokeSpawner")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Goto See
  BFG10K2:
    TNT1 A 0 A_JumpIf(user_10K2 >= 35,"BFG10KEnd")
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",44,-26,Random(-3, 3))
	LcWC F 1 Bright A_CustomMissile("NewLegendary10KProjectile",44,26,Random(-3, 3))	
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",44,-26,Random(-3, 3))
	LcWC F 1 Bright A_CustomMissile("TrueLegendary10KProjectile",44,26,Random(-3, 3))
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_SetUserVar(user_10K2,user_10K2+1)
    Loop
  InsanityBFG10K:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	LcWC EEEE 6 A_FaceTarget
  InsanityBFG10KLoop:
    TNT1 A 0 A_JumpIf(user_missile >= 15,"TrueBFG10KEnd")
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",70,-20,Random(-25, -10))
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",70,20,Random(10, 25))
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",44,-26,Random(-8, 8))
	LcWC H 2 Bright A_CustomMissile("NewLegendary10KProjectile",44,26,Random(-8, 8))
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",70,-20,Random(-25, -10))
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",70,20,Random(10, 25))
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",44,-26,Random(-8, 8))
	LcWC H 2 Bright A_CustomMissile("TrueLegendary10KProjectile",44,26,Random(-8, 8))
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
    Loop
  TrueBFG10KEnd:
    TNT1 A 0 A_Jump(128,"TrueBFG10K2","TrueBFG10KPause")
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_SetUserVar(user_10K2,0)
    LcWC E 20 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(128,"InsanityLasers","SpreadRailgun","InsanityGrenades")
	Loop
  TrueBFG10KPause:
    TNT1 A 0 A_JumpIf(user_missile >= 125,"BFG10KEnd")
	TNT1 A 0 A_JumpIfTargetInLOS("TrueBFG10K2")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  TrueBFG10K2:
    TNT1 A 0 A_JumpIf(user_10K2 >= 35,"BFG10KEnd")
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",70,-20,Random(-25, -10))
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",70,20,Random(10, 25))
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",44,-26,Random(-3, 3))
	LcWC H 1 Bright A_CustomMissile("NewLegendary10KProjectile",44,26,Random(-3, 3))	
	LcWC E 1 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",70,-20,Random(-25, -10))
	TNT1 A 0 A_CustomMissile("NewLegendary10KProjectile",70,20,Random(10, 25))
	TNT1 A 0 A_CustomMissile("TrueLegendary10KProjectile",44,-26,Random(-3, 3))
	LcWC H 1 Bright A_CustomMissile("TrueLegendary10KProjectile",44,26,Random(-3, 3))
	LcWC E 1 A_FaceTarget
	TNT1 A 0 A_SetUserVar(user_10K2,user_10K2+1)
    Loop
   BFG15Kfast:
    TNT1 A 0 A_JumpIfHealthLower(4000,"InsanityBFG15Kfast")
	TNT1 A 0 A_PlaySound("weapons/charge15k")
    LcWC E 18 A_FaceTarget
	LcWC E 6 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 4 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 4 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-12,12),0)
	LcWC F 4 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-12,12),0)
	LcWC E 4 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 4 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 4 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-12,12),0)
	LcWC F 4 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-12,12),0)
	LcWC E 4 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 4 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 4 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-12,12),0)
	LcWC F 3 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-12,12),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-12,12),0)
	LcWC F 3 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-12,12),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-12,12),0)
	LcWC F 3 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-12,12),0)
	LcWC E 3 A_FaceTarget
	LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 3 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-14,14),0)
	LcWC E 2 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 2 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-14,14),0)
	LcWC E 2 A_FaceTarget
	LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 2 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-14,14),0)
	LcWC E 2 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 2 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-14,14),0)
	LcWC E 2 A_FaceTarget
	LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-8,8),0)
	LcWC F 2 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-8,8),0)
	LcWC E 2 A_FaceTarget
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-14,14),0)
	LcWC E 15 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(128,"ExplosiveSSG","SpreadRailgun","InsanityRailgun")
	TNT1 A 0 A_Jump(96,"InsanityMines")
	Loop
  InsanityBFG15Kfast:
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	LcWC EEEEE 3 A_FaceTarget
  InsanityBFG15KfastLoop:
	TNT1 A 0 A_JumpIf(user_missile > 12,"InsanityBFG15KfastEnd")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    LcWC F 0 A_CustomMissile("SeekerLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerLegendaryBFG15KBall",40,26,random(-14,14),0)
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    LcWC F 0 A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,-26,random(-14,14),0)
	LcWC F 2 Bright A_CustomMissile("SeekerBlueLegendaryBFG15KBall",40,26,random(-14,14),0)
	Loop
  InsanityBFG15KfastEnd:
	LcWC E 15 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(128,"ExplosiveSSG","SpreadRailgun","InsanityRailgun")
	TNT1 A 0 A_Jump(96,"InsanityMines")
	Loop
  ExplosiveSSG:
    TNT1 A 0 A_JumpIfHealthLower(4250,"InsanityExplosiveSSG")
	LcWC E 20 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BlueShellCasing", 0, 12, 36, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 A 0 A_SpawnItemEx("BlueShellCasing", 0, 12, 36, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 AAAAAA 0 Bright A_CustomMissile("LegendaryBlueTracer",42,20,Random(8,-8),0)
	TNT1 AAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,20,Random(8,-8),0)
	TNT1 AAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,20,Random(8,-8),0)
	
	TNT1 AAAAAA 0 Bright A_CustomMissile("LegendaryBlueTracer",42,-20,Random(8,-8),0)
	TNT1 AAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,-20,Random(8,-8),0)
	TNT1 AAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,-20,Random(8,-8),0)
	TNT1 A 0 A_CustomBulletAttack(12, 8, 10, Random(1,4)*3, "CyNoblePuff")
	TNT1 A 0 A_CustomBulletAttack(12, 8, 10, Random(1,4)*3, "CyNoblePuff")
	LcWC F 4 Bright A_PlaySound("ExpSSG/Fire")
	LcWC E 12
    TNT1 A 0 A_Jump(128,"InsanityHomingRockets","InsanityBFG10K","InsanityBFG15Kfast","InsanityExplosiveMinigun","TrueInsanityGrenades","TrueInsanityRailgun")
	TNT1 A 0 A_Jump(64,"AntiLegendaryBlastCombo","TrueInsanityLasers","SpreadRailgun","MiniDTBFG")
	TNT1 A 0 A_Jump(32,"InsanityDTBFG10K","TrueExplosiveRailgun")
	TNT1 A 0 A_Jump(8,"EFGNuke")
	Loop
  InsanityExplosiveSSG:
	LcWC E 20 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BlueShellCasing", 0, 12, 36, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 A 0 A_SpawnItemEx("BlueShellCasing", 0, 12, 36, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("LegendaryBlueTracer",42,20,Random(8,-8),0)
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,20,Random(8,-8),0)
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,20,Random(8,-8),0)
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("LegendaryBlueTracer",42,-20,Random(8,-8),0)
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,-20,Random(8,-8),0)
	TNT1 AAAAAAAAAA 0 Bright A_CustomMissile("TrueLegendaryExplosiveTracer",42,-20,Random(8,-8),0)
	TNT1 A 0 A_CustomBulletAttack(12, 8, 10, Random(1,4)*3, "CyNoblePuff")
	TNT1 A 0 A_CustomBulletAttack(12, 8, 10, Random(1,4)*3, "CyNoblePuff")
	LcWC F 4 Bright A_PlaySound("ExpSSG/Fire")
	LcWC E 12
	TNT1 A 0 A_Jump(128,"AntiLegendaryBlastCombo","InsanityLasers")
	Loop
   InsanityRailgun:
    TNT1 A 0 A_JumpIfHealthLower(2750,"TrueInsanityRailgun")
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
    LcWC EE 10 A_FaceTarget
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC E 20
	TNT1 A 0 A_Jump(64,"TrueInsanityRailgun")
	TNT1 A 0 A_Jump(128,"SpreadRailgun")
	Loop
   TrueInsanityRailgun:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
    LcWC EE 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC EE 6 A_FaceTarget
	TNT1 A 0 A_PlaySound("railgunner/chargedshot")
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("LegendaryCyberRail",40,26,random(-6,6),0)
	LcWC F 0 A_CustomMissile("TrueLegendaryCardinalRail",40,-26,random(-6,6),0)
	LcWC F 5 Bright A_CustomMissile("LegendaryCyberRail",40,-26,random(-6,6),0)
    LcWC E 20
	TNT1 A 0 A_Jump(128,"SpreadRailgun")
	Loop
  InsanityLasers:
    TNT1 A 0 A_JumpIfHealthLower(6750,"TrueInsanityLasers")
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
    LcWC EEEE 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 4 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
    LcWC F 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC F 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
    LcWC E 20
	TNT1 A 0 A_Jump(64,"TrueInsanityLasers")
	Loop
  TrueInsanityLasers:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
    LcWC EEEE 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 3 a_facetarget
	TNT1 A 0 A_PlaySound("monsters/fusionfire")
	LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,-20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",80,20,random(-12,12),0)
    LcWC H 0 A_CustomMissile("TrueLegendaryCyberRail",40,-26,random(-8,8),0)
	LcWC H 3 Bright A_CustomMissile("TrueLegendaryCyberRail",40,26,random(-8,8),0)
	LcWC E 10
    TNT1 A 0 A_Jump(128,"InsanityHomingRockets","InsanityBFG10K","InsanityBFG15Kfast","InsanityExplosiveMinigun","TrueInsanityGrenades","TrueInsanityRailgun")
	TNT1 A 0 A_Jump(64,"AntiLegendaryBlastCombo","TrueInsanityLasers","SpreadRailgun","MiniDTBFG")
	TNT1 A 0 A_Jump(32,"InsanityDTBFG10K","TrueExplosiveRailgun")
	TNT1 A 0 A_Jump(8,"EFGNuke")
	Loop
  InsanityExplosiveMinigun: // or Empowered Rapid Shotgun
	LcWC E 2 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BlueShellCasing", 0, 12, 36, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 A 0 A_PlaySound("sentient/fire",1)
	TNT1 AA 0 A_CustomMissile("LegendaryBlueTracer",42,20,Random(12,-12),0)
	TNT1 AA 0 A_CustomMissile("TrueLegendaryExplosiveTracer",42,20,Random(12,-12),0)
	TNT1 AA 0 A_CustomMissile("TrueLegendaryExplosiveTracer",42,20,Random(12,-12),0)
	TNT1 AA 0 A_CustomMissile("LegendaryBlueTracer",42,-20,Random(12,-12),0)
	TNT1 AA 0 A_CustomMissile("TrueLegendaryExplosiveTracer",42,-20,Random(12,-12),0)
	TNT1 AA 0 A_CustomMissile("TrueLegendaryExplosiveTracer",42,-20,Random(12,-12),0)
	LcWC F 2 Bright	
	TNT1 A 0 A_Jump(12,"See","Missile","ExplosiveSSG")
	TNT1 A 0 A_SpidRefire
	Loop
  InsanityMines:
    TNT1 A 0 A_JumpIfHealthLower(2250,"InsanityInfernaLNINes")
    TNT1 A 0 A_JumpIf(user_missile >= 15,"InsanityMinesEnd")
    LcWC E 2 A_SetAngle(angle+Random(45,180))
	TNT1 A 0 A_CustomMissile("LegoInsaneCydestroyerThrownMine",44,-26,0,CMF_AIMDIRECTION)
    LcWC F 2 A_CustomMissile("LegoInsaneCydestroyerThrownMine",44,26,0,CMF_AIMDIRECTION)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  InsanityMinesEnd:
    TNT1 A 0 A_SetUserVar(user_missile,0)
    LcWC FEEEE 2
	TNT1 A 0 A_Jump(64,"InsanityExplosiveMinigun","TrueExplosiveRailgun")
    Loop
  InsanityInfernaLNINes:
    TNT1 A 0 A_JumpIf(user_missile >= 15,"InsanityMinesEnd")
    LcWC E 2 A_SetAngle(angle+Random(45,180))
	TNT1 A 0 A_CustomMissile("LegoInsaneCydestroyerHellfireLiveMine",44,-26,0,CMF_AIMDIRECTION)
    LcWC F 2 A_CustomMissile("LegoInsaneCydestroyerHellfireLiveMine",44,26,0,CMF_AIMDIRECTION)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  InsanityInfernalEnd:
    TNT1 A 0 A_SetUserVar(user_missile,0)
    LcWC FEEEE 2
	TNT1 A 0 A_Jump(64,"InsanityExplosiveMinigun","TrueExplosiveRailgun","InsanityDTBFG10K")
    Loop
  AntiLegendaryBlastCombo:
    TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    LcWC P 1 Bright A_ChangeFlag(Invulnerable,1)
	LcWC E 1 Bright A_FaceTarget
	LcWC EEEEEEEEEE 2 Bright A_FaceTarget
	LcWC E 2 Bright A_PlayWeaponSound("lrball3/charge")
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	LcWC E 2 A_FaceTarget
    LcWC E 2 Bright A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_ChangeFlag("NOPAIN", 0)
	TNT1 A 0 A_ChangeFlag(Invulnerable,0)
	LcWC E 10 Bright A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TNT1 A 0 A_CustomMissile("CardinalSpecialGuruball",60,-20,0)  
	LcWC F 10 Bright A_CustomMissile("CardinalSpecialGuruball",60,20,0)
	LcWC E 10 Bright A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TNT1 A 0 A_CustomMissile("CardinalSpecialGuruball",80,-20,0)  
	LcWC G 10 Bright A_CustomMissile("CardinalSpecialGuruball",80,20,0)
	LcWC E 10 Bright A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TNT1 A 0 A_CustomMissile("CardinalSpecialGuruball",60,-20,0)  
	LcWC F 10 Bright A_CustomMissile("CardinalSpecialGuruball",60,20,0)
	LcWC E 10 Bright A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TNT1 A 0 A_CustomMissile("CardinalSpecialGuruball",80,-20,0)  
	LcWC G 10 Bright A_CustomMissile("CardinalSpecialGuruball",80,20,0)
	LcWC E 10 Bright A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TNT1 A 0 A_CustomMissile("CardinalSpecialGuruball",60,-20,0)  
	LcWC F 10 Bright A_CustomMissile("CardinalSpecialGuruball",60,20,0)
	LcWC E 10 Bright A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("lrball3/shot")
	TNT1 A 0 A_CustomMissile("CardinalSpecialGuruball",80,-20,0)  
	LcWC G 10 Bright A_CustomMissile("CardinalSpecialGuruball",80,20,0)
	LcWC E 15 A_FaceTarget
	Loop
  InsanityDTBFG10K:
	TNT1 A 0 A_changeflag("Nopain",1)
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
    LcWC EEE 20 A_FaceTarget
	ITRM F 0 A_PlayWeaponSound("star/fire")
    LcWC H 5 Bright A_CustomMissile("LegAnniDTBFGBall",65,0,0)
    LcWC E 20
	TNT1 A 0 A_changeflag("Nopain",0)
	TNT1 A 0 A_Jump(64,"InsanityExplosiveMinigun","TrueExplosiveRailgun","InsanityDTBFG10K")
	Loop
  MiniDTBFG:
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGCharge")
	LcWC EEEEEEE 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGFire")
    LcWC F 0 A_CustomMissile("LesserCardinaLNINiDTBFG",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LesserCardinaLNINiDTBFG",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGFire")
    LcWC F 0 A_CustomMissile("LesserCardinaLNINiDTBFG",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LesserCardinaLNINiDTBFG",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGFire")
    LcWC F 0 A_CustomMissile("LesserCardinaLNINiDTBFG",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LesserCardinaLNINiDTBFG",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGFire")
    LcWC F 0 A_CustomMissile("LesserCardinaLNINiDTBFG",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LesserCardinaLNINiDTBFG",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGFire")
    LcWC F 0 A_CustomMissile("LesserCardinaLNINiDTBFG",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LesserCardinaLNINiDTBFG",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("LesserCardinal/BFGFire")
    LcWC F 0 A_CustomMissile("LesserCardinaLNINiDTBFG",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LesserCardinaLNINiDTBFG",40,26,random(-2,2),0)
	LcWC E 5 A_FaceTarget
	TNT1 A 0 A_Jump(32,"ExplosiveRailgun")
	Loop
  ExplosiveRailgun:
    TNT1 A 0 A_JumpIfHealthLower(2000,"TrueExplosiveRailgun")
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10	
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_Jump(64,"MiniDTBFG","TrueInsanityGrenades")
	TNT1 A 0 A_Jump(48,"TrueExplosiveRailgun")
	Loop
  TrueExplosiveRailgun:
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10	
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Charge")
    LcWC E 10 A_FaceTarget
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire")
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryCardinalRail",32,20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,-20,0,0)
    TNT1 A 0 A_CustomMissile("TrueLegendaryRevCannonBomb",32,20,0,0)
    LcWC F 0 A_CustomRailgun(75,-20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC F 5 Bright A_CustomRailgun(75,20,None,None,RGF_SILENT,1,0,"BruiserRailPuff",0,0,0,0,40,0,"ExplosiveRailgunTrail")
    LcWC E 10
	TNT1 A 0 A_Jump(64,"MiniDTBFG","TrueInsanityGrenades")
	TNT1 A 0 A_Jump(32,"EFGNuke")
	Loop
  EFGNuke:
	TNT1 A 0 A_PlaySound("weapons/nuclearmissilecharge",1)
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	LcWC EEEEEEEEEEEEEEE 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Cardihilator/NukeFire",1,1.0,0,ATTN_NONE)
    LcWC F 0 A_CustomMissile("LegendaryCardinalFinalBall",40,-26,random(-2,2),0)
	LcWC F 6 Bright A_CustomMissile("LegendaryCardinalFinalBall",40,26,random(-2,2),0)
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	LcWC E 24 Bright A_FaceTarget
	Goto See
  UltimateDevastator:
    TNT1 A 0 A_SetUserVar("user_UltimateDevastator",1)
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
    LcWC E 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag(NODAMAGE,1)
	TNT1 A 0 A_ChangeFlag(REFLECTIVE,1)
	TNT1 A 0 A_PlaySound("VexedNemesisCydestroyer/Rage",7,5)
	TNT1 A 0 A_PlaySound("NemesisBFG/charge",1)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
    TNT1 A 0 A_PlaySound("devastator/charge")
	LcWC E 3 Bright
	LcWC E 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")	
	TNT1 A 0 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
    LcWC E 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
    LcWC E 0 A_SpawnItem("RHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TerminatorLineSpawner")
	LcWC E 4 Bright A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 Bright A_FaceTarget
  UltimateDevGo:
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_ChangeFlag(REFLECTIVE,0)
	TNT1 A 0 A_ChangeFlag(NODAMAGE,0)
    TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
  	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	TNT1 A 0 A_PlaySound("NemesisBFG/Fire",1)
	LcWC F 0 A_PlayWeaponSound("star/fire")
    LcWC H 5 Bright A_CustomMissile("CardinalSpecialGuruball",65,0,0)
    LcWC E 80 Bright A_FaceTarget
	LcWC H 5 Bright A_CustomMissile("CardinalSpecialGuruball",65,0,0)
	Goto See
  Pain: 
    LcWC I 6 A_Pain
	TNT1 A 0 A_Jump(16,"InsanityMines")
    Goto See
  Death:
	TNT1 A 0 A_PlaySound("EnragedCybruiser/Death")
	TNT1 A 0 A_PlaySound("NemesisCyberNoble/death")
    LcWC I 0 A_Scream
	LcWC IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII 2 Bright A_SpawnItemEx("PainfulDeathKaboom",random(-32,32),random(-40,40),random(16,48),random(-4,4),random(-4,4),random(0,4),0,SXF_TRANSFERPOINTERS)
	TNT1 A 0 A_SpawnItem("TrueDeathBall")
	LcWC JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ 2 Bright A_SpawnItemEx("PainfulDeathKaboom",random(-32,32),random(-40,40),random(16,48),random(-4,4),random(-4,4),random(0,4),0,SXF_TRANSFERPOINTERS)
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)	
	TNT1 A 0 A_SpawnItem("TrueDeathBall")
	TNT1 AAA 0 A_CustomMissile("SmokeFX3",0,0,random(0,360),2,random(0,360))
	TNT1 AAAAAA 0 A_CustomMissile("PainfulDeathKaboom",0,0,random(0,360),2,random(0,360))
	TNT1 AAAAAAAAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,128)
	TNT1 AAAA 0 A_SpawnItemEx("BlueKaboom3",random(-80,80),random(-80,80),0,0,0,0,0,128)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_CustomMissile("Explode",random(20,80),random(20,-20),random(0,360),2,random(0,360))
	TNT1 A 0 A_SpawnItemEx("BigBlueBloodCloud",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_CustomMissile("LegendaryCardinalNuke",0,0,0,CMF_AIMDIRECTION|CMF_TRACKOWNER,0)
	LcWC JJJKKK 2 Bright A_CustomMissile ("PainfulDeathKaboom", Random(10,50), 0, random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("BlueGibbedGenerator",0,0,0,0,0,0,0,128,0)
    TNT1 AAAA 0 A_CustomMissile("LegendarySmokeFX", Random(30,60), 0, random(0,360), 2, random(0,360))	
    LcWC L 4 Bright A_NoBlocking
    LcWC LL 3 Bright
    LcWC L -1 A_KillMaster
    Stop
    } 
}
	
ACTOR LegoInsaneCydestroyerGhostA
{
RENDERSTYLE Translucent
Alpha 0.75
Scale 1.25
+NOGRAVITY
+CLIENTSIDEONLY
+DONTSPLASH
+NOINTERACTION
+NOBLOCKMAP
+NOCLIP
States
{
Spawn:
    LcWC A 2 A_FadeOut(0.18)
    Loop	
    }
}

ACTOR LegoInsaneCydestroyerGhostB : LegoInsaneCydestroyerGhostA
{
States
{
Spawn:
    LcWC B 2 A_FadeOut(0.18)
    Loop
    }
}

ACTOR LegoInsaneCydestroyerGhostC : LegoInsaneCydestroyerGhostA
{
States
{
Spawn:
    LcWC C 2 A_FadeOut(0.18)
    Loop
    }
}

ACTOR LegoInsaneCydestroyerGhostD : LegoInsaneCydestroyerGhostA
{
States
{
Spawn:
    LcWC D 2 A_FadeOut(0.18)
    Loop
    }
}

ACTOR LegoInsaneCydestroyerThrownMine : ThrownMine
{
Scale 0.9
Speed 40
Damage 10
SeeSound "weapons/minebounce"
Species "Nobles"
BounceCount 6
BounceFactor 0.36
WallBounceFactor 0.44
States
{
Death:
	LNIN A 1
	LNIN A 1 A_SpawnItem("LegoInsaneCydestroyerLiveMine")
	Stop
	}
}

ACTOR LegoInsaneCydestroyerLiveMine : LiveMine
{
Scale 0.9
Damage 50
Health 115
Species "Nobles"
DamageType "InsanityHell"
States
{
Death:
	TNT1 A 0 A_Die
Explode:
	LNIN B 15 Bright A_PlaySound("weapons/minebeep")
	TNT1 A 0 A_Explode(186,162)
	TNT1 A 0 A_PlaySound("weapons/mineexplode")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 AAAAA 0 A_CustomMissile("TrueLegendaryExplosiveTracer",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
    TNT1 AAAA 0 A_CustomMissile("PainfulDeathKaboomBlue2", 0, 0, random(0,360), 2, random(20,160))
	TNT1 AAAA 0 A_CustomMissile("SmokeFX3", 0, 0, random(0,360), 2, random(20,160))
	TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,128)
    TNT1 A 1 A_SpawnItem("RocketEx")
    Stop
    }
}

ACTOR LegoInsaneCydestroyerHellfireLiveMine : LegoInsaneCydestroyerThrownMine
{
Scale 1
Speed 30
Damage 4
BounceCount 8
BounceFactor 0.47
WallBounceFactor 0.55
States
{
Spawn:
	TNT1 A 0
	TNT1 A 0 A_StopSound
    Goto Thrown
Thrown:
	LNIN X 30
	LNIN Y 10 Bright
	Loop
Death:
	LNIN Y 1
	LNIN Y 1 A_SpawnItem("LegoLegoLegoInsaneCydestroyerHellfireLiveMine")
	Stop
	}
}

ACTOR LegoLegoLegoInsaneCydestroyerHellfireLiveMine : LegoInsaneCydestroyerLiveMine
{
Scale 1
Damage 10
Health 50
Species "Nobles"
DamageType "InsanityHell"
States
{
Spawn:
	LNIN X 30 A_ChangeFlag(NOBLOCKMAP,0)
	LNIN Y 10 Bright A_ChangeFlag(NOBLOCKMAP,1)
	Loop
Death:
	TNT1 A 0 A_Die
Explode:
	LNIN D 15 Bright A_PlaySound("weapons/minebeep")
	TNT1 A 0 A_Explode(186,162)
	TNT1 A 0 A_PlaySound("weapons/mineexplode")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 AAAAA 0 A_CustomMissile("TrueLegendaryExplosiveTracer",0,0,random(0,360),CMF_AIMDIRECTION|CMF_TRACKOWNER,random(0,360))
    TNT1 AAAA 0 A_CustomMissile("PainfulDeathKaboomBlue2", 0, 0, random(0,360), 2, random(20,160))
	TNT1 AAAA 0 A_CustomMissile("SmokeFX3", 0, 0, random(0,360), 2, random(20,160))
	TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,128)
    TNT1 A 0 Bright A_CustomMissile("BFGShockwaveBlue",0,0,0,6)
    TNT1 A 0 Bright A_CustomMissile("BFGShockwaveBlue",0,0,45,6)
    TNT1 A 0 Bright A_CustomMissile("BFGShockwaveBlue",0,0,90,6)
    TNT1 A 0 Bright A_CustomMissile("BFGShockwaveBlue",0,0,135,6)
    TNT1 A 0 Bright A_CustomMissile("PainfulDeathKaboomBlue2",0,0,180,6)
    TNT1 A 0 Bright A_CustomMissile("PainfulDeathKaboomBlue2",0,0,225,6)
    TNT1 A 0 Bright A_CustomMissile("PainfulDeathKaboomBlue2",0,0,270,6)
    TNT1 A 0 Bright A_CustomMissile("PainfulDeathKaboomBlue2",0,0,315,6)
    TNT1 A 1 A_SpawnItem("RocketEx")
    Stop
    }
}