public void tripWirePunishments(TripWire TripWire) { string punishment = ""; if (Program.GameData.MatchInfo.RoundNumber >= 3 || Program.Debug.TripWireStage == 2) { stage2TripWirePunishments ps2 = (stage2TripWirePunishments)(new Random()).Next(0, 3); punishment = ps2.ToString(); } else if (Program.GameData.MatchInfo.RoundNumber < 3 || Program.Debug.TripWireStage == 1) { return; //stage1TripWirePunishments ps1 = (stage1TripWirePunishments)(new Random()).Next(0, 3); //punishment = ps1.ToString(); } Activator.CreateInstance(Type.GetType("ScriptKidAntiCheat.Punishments." + punishment)); Thread.Sleep(500); if (Program.Debug.ShowDebugMessages) { Program.GameConsole.SendCommand("Say \"TripWire Triggered (" + punishment + ")\""); } }
public void MindControl3(TripWire TripWire) { Weapons PrimaryWeapon = (Weapons)Program.GameData.Player.PrimaryWeapon; Weapons ActiveWeapon = (Weapons)Program.GameData.Player.ActiveWeapon; if (PrimaryWeapon != Weapons.Awp && ActiveWeapon != Weapons.Awp) { return; } List <MindControlAction> MindControlActions = new List <MindControlAction>(); MindControlActions.Add(new MindControlAction { AimLockAtWorldPoint = new Vector3(-1212, 1126, 11849), AimLockDuration = 1500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+forward" }); MindControlActions.Add(new MindControlAction { Sleep = 500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+jump; +duck;" }); MindControlActions.Add(new MindControlAction { Sleep = 500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "-duck;" }); MindControlActions.Add(new MindControlAction { Sleep = 1000 }); Punishment p = new MindControl(MindControlActions, true); }
public void JumpToDeath(TripWire TripWire) { List <MindControlAction> MindControlActions = new List <MindControlAction>(); MindControlActions.Add(new MindControlAction { AimLockAtWorldPoint = new Vector3(239, -1658, 25), AimLockDuration = 500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+forward" }); MindControlActions.Add(new MindControlAction { Sleep = 500 }); MindControlActions.Add(new MindControlAction { AimLockAtWorldPoint = new Vector3(412, -1865, 79), AimLockDuration = 1000 }); MindControlActions.Add(new MindControlAction { Sleep = 500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+jump;" }); MindControlActions.Add(new MindControlAction { Sleep = 100 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+duck;" }); MindControlActions.Add(new MindControlAction { Sleep = 2000 }); Punishment p = new MindControl(MindControlActions, true, 3000); }
public KnockKnockWhosThere(TripWire TripWire) : base(0, false, 100) // 0 = Always active { triggeringTripWire = TripWire; Program.GameConsole.SendCommand("unbind e"); // Keyboard events Program.m_GlobalHook.KeyDown += GlobalHookKeyDown; }
public void DisableTrap(GameObject trap) { //for (int i = 0; i < trap.transform.childCount; i++) //{ // TrapPositionPlacer placer = trap.transform.GetChild(i).gameObject.GetComponent<TrapPositionPlacer>(); // if (placer) // { // placer.SetPosition(); // } // Destroy(trap.transform.GetChild(i).gameObject); // i--; //} PitFall pit = trap.GetComponent <PitFall>(); TripWire wire = trap.GetComponent <TripWire>(); if (pit) { pit.SetPositioner(); } else if (wire) { wire.firstSwitch.GetComponent <TrapPositionPlacer>().SetPosition(); } Destroy(trap); }
public de_dust2() { // CT SPAWN MID TripWire ct_mid = new TripWire( new { x1 = -346, y1 = 2001, x2 = -349, y2 = 2303, x3 = -519, y3 = 2302, x4 = -517, y4 = 1965, z = 0 }, 50, Team.CounterTerrorists, 50 ); ct_mid.OnTriggered += RushMid; TripWires.Add(ct_mid); // --- // B Window TripWire b_window = new TripWire( new { x1 = -1410, y1 = 2629, x2 = -1408, y2 = 2726, x3 = -1362, y3 = 2721, x4 = -1366, y4 = 2627, z = 0 }, 50, default, 50
public static void AddUpdateTripWireCountInvokers(TripWire invoker) { updateTripWireCountInvokers.Add(invoker); foreach (UnityAction <Constants.Tools, int> listener in updateToolCountListeners) { invoker.AddUpdateCountTripWireListener(listener); } }
public static void AddSelectionChangeTripWireInvokers(TripWire invoker) { selectionChangeTripWireInvokers.Add(invoker); foreach (UnityAction <Constants.Tools> listener in selectionChangeListeners) { invoker.AddChangeSelectionTripWireListener(listener); } }
// Token: 0x06000040 RID: 64 RVA: 0x00005D08 File Offset: 0x00003F08 public void DropThatGun(TripWire TripWire) { if (Program.GameData.Player.AimDirection.X < 0f) { new Yeeeeeeeet(TripWire, -5000, -1000, 5000, 1000); return; } new Yeeeeeeeet(TripWire, 5000, -1000, -5000, 1000); }
public void denyLadderClimb(TripWire TripWire) { List <MindControlAction> MindControlActions = new List <MindControlAction>(); MindControlActions.Add(new MindControlAction { ConsoleCommand = "-forward; +jump; +duck;" }); MindControlActions.Add(new MindControlAction { Sleep = 1000 }); Punishment p = new MindControl(MindControlActions, false); }
// Token: 0x0600003F RID: 63 RVA: 0x00005BC8 File Offset: 0x00003DC8 public de_inferno() { this.Punishments.Add(new BurningMan()); TripWire tripWire = new TripWire(new { x1 = 1928, y1 = 178, x2 = 2016, y2 = 180, x3 = 2024, y3 = -262, x4 = 1934, y4 = -261, z = 0 }, 50, Team.Terrorists, 500); tripWire.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire); TripWire tripWire2 = new TripWire(new { x1 = 1796, y1 = -251, x2 = 1793, y2 = -395, x3 = 1708, y3 = -383, x4 = 1709, y4 = -246, z = 0 }, 100, Team.Unknown, 50); tripWire2.checkFromMemory = true; tripWire2.OnTriggered += this.DropThatGun; this.TripWires.Add(tripWire2); TripWire tripWire3 = new TripWire(new { x1 = 661, y1 = 2292, x2 = 910, y2 = 2320, x3 = 908, y3 = 2436, x4 = 653, y4 = 2428, z = 0 }, 50, Team.Terrorists, 50); tripWire3.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire3); }
public void MindControl1(TripWire TripWire) { List <MindControlAction> MindControlActions = new List <MindControlAction>(); MindControlActions.Add(new MindControlAction { AimLockAtWorldPoint = new Vector3(-1557, 1081, 11821), AimLockDuration = 2500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+forward" }); MindControlActions.Add(new MindControlAction { Sleep = 2500 }); Punishment p = new MindControl(MindControlActions, true, 2500); }
public void MindControl4(TripWire TripWire) { List <MindControlAction> MindControlActions = new List <MindControlAction>(); MindControlActions.Add(new MindControlAction { AimLockAtWorldPoint = new Vector3(-940, -1641, 11857), AimLockDuration = 1500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+forward" }); MindControlActions.Add(new MindControlAction { Sleep = 1500 }); Punishment p = new MindControl(MindControlActions); }
public de_inferno() { // A Short / House TripWire mindcontrol = new TripWire( new { x1 = 941, y1 = 2221, x2 = 935, y2 = 2190, x3 = 894, y3 = 2190, x4 = 894, y4 = 2221, z = 0 }, 100, Team.Terrorists ); mindcontrol.OnTriggered += mindcontrolPunishment; TripWires.Add(mindcontrol); // --- // A Short / House TripWire a_short = new TripWire( new { x1 = 1928, y1 = 178, x2 = 2016, y2 = 180, x3 = 2024, y3 = -262, x4 = 1934, y4 = -261, z = 0 }, 50, Team.Terrorists ); a_short.OnTriggered += tripWirePunishments; TripWires.Add(a_short); // --- // A Apartments TripWire a_aps = new TripWire( new { x1 = 1796, y1 = -251, x2 = 1793, y2 = -395, x3 = 1708, y3 = -383, x4 = 1709, y4 = -246, z = 0 }, 50, default, 50
public void MindControl2(TripWire TripWire) { List <MindControlAction> MindControlActions = new List <MindControlAction>(); MindControlActions.Add(new MindControlAction { AimLockAtWorldPoint = new Vector3(-2767, 46, 11787), AimLockDuration = 500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+forward" }); MindControlActions.Add(new MindControlAction { Sleep = 500 }); MindControlActions.Add(new MindControlAction { ConsoleCommand = "+jump" }); MindControlActions.Add(new MindControlAction { Sleep = 1000 }); Punishment p = new MindControl(MindControlActions); }
public override void SetTrap(RaycastHit hit, RaycastHit normal, String tag) { //add both endSwitches and wire TripWire trap = (TripWire)Instantiate(this, (hit.point + normal.point) / 2, Quaternion.Euler(hit.normal)); trap.EnemyTag = tag; trap.firstSwitch.transform.position = hit.point; trap.firstSwitch.transform.rotation = Quaternion.Euler(hit.normal); trap.secondSwitch.transform.position = normal.point; trap.secondSwitch.transform.rotation = Quaternion.Euler(normal.normal); trap.wire.transform.position = trap.transform.position; trap.wire.transform.rotation = Quaternion.Euler(hit.normal); if (hit.normal.x != 0) { trap.wire.transform.localScale = new Vector3((normal.point - hit.point).magnitude, .001f, .001f); } if (hit.normal.z != 0) { trap.wire.transform.localScale = new Vector3(.001f, .001f, (normal.point - hit.point).magnitude); } }
// Token: 0x0600009B RID: 155 RVA: 0x00006FAC File Offset: 0x000051AC public Yeeeeeeeet(TripWire TripWire, int MouseX_BeforeDrop, int MouseY_BeforeDrop, int MouseX_AfterDrop, int MouseY_AfterDrop) : base(3000, true, 500) { Yeeeeeeeet < > 4__this = this; if (!base.CanActivate()) { return; } this.TriggeringTripWire = TripWire; Task.Run(delegate() { if (< > 4__this.Player.ActiveWeapon == 59) { Program.GameConsole.SendCommand("slot2"); Thread.Sleep(200); } Program.GameConsole.SendCommand("drop; drop;"); SendInput.MouseMove(MouseX_BeforeDrop, MouseY_BeforeDrop); Thread.Sleep(150); SendInput.MouseMove(MouseX_AfterDrop, MouseY_AfterDrop); }); base.AfterActivate(true); }
private void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Player") || other.gameObject.CompareTag("PlayerNet") || other.gameObject.CompareTag("enemyRoot") || other.gameObject.CompareTag("enemyCollide") || other.gameObject.CompareTag("TennisBall") || other.gameObject.CompareTag("Weapon") || other.gameObject.CompareTag("Rock") || other.transform.GetComponent <ArrowDamage>()) { if (BoltNetwork.isRunning) { if (base.entity && base.entity.isOwner) { base.state.Tripped = true; } else { TripWire tripWire = TripWire.Create(GlobalTargets.OnlyServer); tripWire.WireEntity = base.entity; tripWire.Send(); } } else { this.OnTripped(); } } }
// Token: 0x060001DF RID: 479 RVA: 0x0000B400 File Offset: 0x00009600 public void tripWirePunishments(TripWire TripWire) { string str = ""; if (Program.GameData.MatchInfo.RoundNumber > 10 || Program.Debug.TripWireStage == 3) { str = ((Map.stage3TripWirePunishments) new Random().Next(0, 2)).ToString(); } else if (Program.GameData.MatchInfo.RoundNumber >= 3 || Program.Debug.TripWireStage == 2) { str = ((Map.stage2TripWirePunishments) new Random().Next(0, 2)).ToString(); } else if (Program.GameData.MatchInfo.RoundNumber < 3 || Program.Debug.TripWireStage == 1) { str = ((Map.stage1TripWirePunishments) new Random().Next(0, 1)).ToString(); } Activator.CreateInstance(Type.GetType("ScriptKidAntiCheat.Punishments." + str)); Thread.Sleep(500); if (Program.Debug.ShowDebugMessages) { Program.GameConsole.SendCommand("Say \"TripWire Triggered (" + str + ")\""); } }
// Token: 0x0600004B RID: 75 RVA: 0x00006408 File Offset: 0x00004608 public void DropWeaponsBehindMe(TripWire TripWire) { new Yeeeeeeeet(TripWire, -8000, -500, 10000, 0); }
public de_mirage() { // T Spawn (debugging) if (Program.Debug.ShowDebugMessages) { TripWire t_spawn = new TripWire( new { x1 = 1032, y1 = 351, x2 = 957, y2 = 431, x3 = 964, y3 = 673, x4 = 1135, y4 = 646, z = 0 }, 100, Team.Terrorists ); t_spawn.resetOnLeave = false; t_spawn.OnTriggered += debugging_tripwire; TripWires.Add(t_spawn); // --- } // B Entrance TripWire b_entrance = new TripWire( new { x1 = -1952, y1 = 675, x2 = -2093, y2 = 671, x3 = -2089, y3 = 831, x4 = -1952, y4 = 849, z = 0 }, 50, Team.Terrorists ); b_entrance.OnTriggered += tripWirePunishments; TripWires.Add(b_entrance); // --- // B Window TripWire b_window = new TripWire( new { x1 = -1723, y1 = 629, x2 = -1722, y2 = 523, x3 = -1858, y3 = 534, x4 = -1865, y4 = 629, z = 24 }, 50, Team.Terrorists ); b_window.OnTriggered += tripWirePunishments; TripWires.Add(b_window); // --- // Connector to MID TripWire connector = new TripWire( new { x1 = -824, y1 = -843, x2 = -534, y2 = -846, x3 = -505, y3 = -1268, x4 = -833, y4 = -1251, z = 0 }, 50, Team.Terrorists ); connector.OnTriggered += tripWirePunishments; TripWires.Add(connector); // --- // CW to B TripWire cw = new TripWire( new { x1 = -676, y1 = -241, x2 = -945, y2 = -295, x3 = -968, y3 = -21, x4 = -704, y4 = -22, z = 0 }, 50, Team.Terrorists ); cw.OnTriggered += tripWirePunishments; TripWires.Add(cw); // --- // A main TripWire a_main = new TripWire( new { x1 = 50, y1 = -1358, x2 = 38, y2 = -1650, x3 = -138, y3 = -1653, x4 = -165, y4 = -1365, z = -93 }, 50, Team.Terrorists ); a_main.OnTriggered += tripWirePunishments; TripWires.Add(a_main); // --- // Mid Window TripWire black_magic_window = new TripWire( new { x1 = -1101, y1 = -536, x2 = -1100, y2 = -718, x3 = -1050, y3 = -715, x4 = -1052, y4 = -524, z = -143 }, 50, default, 25
public de_shortnuke() { // A House Entrance TripWire a_house = new TripWire( new { x1 = 320, y1 = -887, x2 = 321, y2 = -796, x3 = 478, y3 = -788, x4 = 477, y4 = -891, z = -351 }, 50, Team.Terrorists ); a_house.OnTriggered += tripWirePunishments; TripWires.Add(a_house); // --- // A Main TripWire a_main = new TripWire( new { x1 = 765, y1 = -1467, x2 = 391, y2 = -1482, x3 = 391, y3 = -1207, x4 = 799, y4 = -1208, z = -351 }, 50, Team.Terrorists ); a_main.OnTriggered += tripWirePunishments; TripWires.Add(a_main); // --- // Small Door A & B TripWire small_doors = new TripWire( new { x1 = 520, y1 = -1386, x2 = 12, y2 = -1388, x3 = -2, y3 = -1165, x4 = 498, y4 = -1151, z = 0 }, 100, default ); small_doors.resetOnLeave = true; small_doors.OnTriggered += KnockKnocWhosThere; TripWires.Add(small_doors); // --- // Big doors B TripWire big_door = new TripWire( new { x1 = 1268, y1 = -1207, x2 = 846, y2 = -1209, x3 = 825, y3 = -790, x4 = 1251, y4 = -760, z = 0 }, 100, default ); big_door.resetOnLeave = true; big_door.OnTriggered += KnockKnocWhosThere; TripWires.Add(big_door); // --- // B ramp entrance TripWire b_ramp = new TripWire( new { x1 = 937, y1 = -136, x2 = 376, y2 = -131, x3 = 356, y3 = -286, x4 = 979, y4 = -287, z = 0 }, 100, default ); b_ramp.resetOnLeave = true; b_ramp.OnTriggered += tripWirePunishments; TripWires.Add(b_ramp); // --- // B site TripWire b_site = new TripWire( new { x1 = 934, y1 = -310, x2 = 956, y2 = -1330, x3 = 327, y3 = -1343, x4 = 341, y4 = -342, z = 0 }, 100, Team.Terrorists ); b_site.resetOnLeave = true; b_site.OnTriggered += tripWirePunishments; TripWires.Add(b_site); // --- }
// Token: 0x0600008D RID: 141 RVA: 0x00006DAE File Offset: 0x00004FAE public KnockKnockWhosThere(TripWire TripWire) : base(0, false, 100) { this.triggeringTripWire = TripWire; Program.m_GlobalHook.KeyDown += this.GlobalHookKeyDown; }
public void KnockKnocWhosThere(TripWire TripWire) { Punishment p = new KnockKnockWhosThere(TripWire); }
public de_nuke() { // A House Entrance TripWire a_house = new TripWire( new { x1 = 320, y1 = -887, x2 = 321, y2 = -796, x3 = 478, y3 = -788, x4 = 477, y4 = -891, z = -351 }, 50, Team.Terrorists ); a_house.OnTriggered += tripWirePunishments; TripWires.Add(a_house); // --- // A Main TripWire a_main = new TripWire( new { x1 = 765, y1 = -1467, x2 = 391, y2 = -1482, x3 = 391, y3 = -1207, x4 = 799, y4 = -1208, z = -351 }, 50, Team.Terrorists ); a_main.OnTriggered += tripWirePunishments; TripWires.Add(a_main); // --- // Small Door A & B TripWire small_doors = new TripWire( new { x1 = 520, y1 = -1386, x2 = 12, y2 = -1388, x3 = -2, y3 = -1165, x4 = 498, y4 = -1151, z = 0 }, 100, default ); small_doors.resetOnLeave = true; small_doors.OnTriggered += KnockKnocWhosThere; TripWires.Add(small_doors); // --- // Big doors B TripWire big_door = new TripWire( new { x1 = 1268, y1 = -1207, x2 = 846, y2 = -1209, x3 = 825, y3 = -790, x4 = 1251, y4 = -760, z = 0 }, 100, default ); big_door.resetOnLeave = true; big_door.OnTriggered += KnockKnocWhosThere; TripWires.Add(big_door); // --- // Silo TripWire silo = new TripWire( new { x1 = 238, y1 = -1490, x2 = 242, y2 = -1782, x3 = -98, y3 = -1765, x4 = -10, y4 = -1471, z = -80 }, 100, default ); silo.OnTriggered += JumpToDeath; TripWires.Add(silo); // --- // Ct ladder TripWire ct_ladder = new TripWire( new { x1 = 1106, y1 = -467, x2 = 1104, y2 = -411, x3 = 1187, y3 = -410, x4 = 1185, y4 = -480, z = -175 }, 100, default ); ct_ladder.resetOnLeave = true; ct_ladder.OnTriggered += denyLadderClimb; TripWires.Add(ct_ladder); // --- }
// Token: 0x06000038 RID: 56 RVA: 0x000059EF File Offset: 0x00003BEF public void KnockKnocWhosThere(TripWire TripWire) { new KnockKnockWhosThere(TripWire); }
// Token: 0x0600004C RID: 76 RVA: 0x00006421 File Offset: 0x00004621 public void debugging_tripwire(TripWire TripWire) { }
public void Yeeeeeeeet(TripWire TripWire) { // p = new Yeeeeeeeet(TripWire, new Vector3(-32, -31, 11857)); }
// Token: 0x0600004A RID: 74 RVA: 0x0000610C File Offset: 0x0000430C public de_mirage() { if (Program.Debug.ShowDebugMessages) { TripWire tripWire = new TripWire(new { x1 = 1032, y1 = 351, x2 = 957, y2 = 431, x3 = 964, y3 = 673, x4 = 1135, y4 = 646, z = 0 }, 100, Team.Terrorists, 500); tripWire.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire); } TripWire tripWire2 = new TripWire(new { x1 = -1952, y1 = 675, x2 = -2093, y2 = 671, x3 = -2089, y3 = 831, x4 = -1952, y4 = 849, z = 0 }, 50, Team.Terrorists, 500); tripWire2.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire2); TripWire tripWire3 = new TripWire(new { x1 = -1723, y1 = 629, x2 = -1722, y2 = 523, x3 = -1858, y3 = 534, x4 = -1865, y4 = 629, z = 24 }, 50, Team.Terrorists, 500); tripWire3.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire3); TripWire tripWire4 = new TripWire(new { x1 = -824, y1 = -843, x2 = -534, y2 = -846, x3 = -505, y3 = -1268, x4 = -833, y4 = -1251, z = 0 }, 50, Team.Terrorists, 500); tripWire4.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire4); TripWire tripWire5 = new TripWire(new { x1 = -676, y1 = -241, x2 = -945, y2 = -295, x3 = -968, y3 = -21, x4 = -704, y4 = -22, z = 0 }, 50, Team.Terrorists, 500); tripWire5.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire5); TripWire tripWire6 = new TripWire(new { x1 = 50, y1 = -1358, x2 = 38, y2 = -1650, x3 = -138, y3 = -1653, x4 = -165, y4 = -1365, z = -93 }, 50, Team.Terrorists, 500); tripWire6.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire6); TripWire tripWire7 = new TripWire(new { x1 = -1098, y1 = -539, x2 = -1097, y2 = -763, x3 = -1073, y3 = -758, x4 = -1067, y4 = -520, z = -143 }, 100, Team.Unknown, 50); tripWire7.checkFromMemory = true; tripWire7.OnTriggered += this.DropWeaponsBehindMe; this.TripWires.Add(tripWire7); TripWire tripWire8 = new TripWire(new { x1 = -21, y1 = -2166, x2 = -18, y2 = -2020, x3 = 150, y3 = -2031, x4 = 87, y4 = -2185, z = 0 }, 50, Team.Terrorists, 500); tripWire8.OnTriggered += base.tripWirePunishments; this.TripWires.Add(tripWire8); }
public de_vertigo() { // MindControl B Entry from CT TripWire mindcontrol = new TripWire( new { x1 = -1394, y1 = 540, x2 = -1551, y2 = 540, x3 = -1567, y3 = 943, x4 = -1378, y4 = 980, z = 0 }, 50, Team.Terrorists ); mindcontrol.OnTriggered += MindControl1; TripWires.Add(mindcontrol); // --- // MindControl B Entry from T TripWire mindcontrol2 = new TripWire( new { x1 = -2470, y1 = -7, x2 = -2470, y2 = 108, x3 = -2369, y3 = 114, x4 = -2369, y4 = -20, z = 0 }, 50 ); mindcontrol2.OnTriggered += MindControl2; TripWires.Add(mindcontrol2); // --- // MindControl Ct Spawn TripWire mindcontrol3 = new TripWire( new { x1 = -1295, y1 = 995, x2 = -1158, y2 = 1010, x3 = -1155, y3 = 867, x4 = -1310, y4 = 882, z = 0 }, 100, Team.CounterTerrorists ); mindcontrol3.OnTriggered += MindControl3; TripWires.Add(mindcontrol3); // --- // MindControl A Entry from T TripWire mindcontrol4 = new TripWire( new { x1 = -1007, y1 = -1234, x2 = -920, y2 = -1226, x3 = -918, y3 = -1382, x4 = -1029, y4 = -1387, z = 0 }, 50 ); mindcontrol4.OnTriggered += MindControl4; TripWires.Add(mindcontrol4); // --- // MindControl A Entry from CT TripWire yeeet = new TripWire( new { x1 = -86, y1 = -5, x2 = -87, y2 = -58, x3 = -164, y3 = -59, x4 = -165, y4 = -4, z = 0 }, 50, Team.CounterTerrorists ); yeeet.OnTriggered += Yeeeeeeeet; TripWires.Add(yeeet); // --- }