private static void OnGameUpdate(EventArgs args) { Extension.GetDagger(); if (Extension.rTrigger == false && Extension.rDealy < Game.Time) { Extension.CastingR = false; } if (GameObjects.Player.IsDead) { return; } if (Extension.CastingR) { Orbwalker.MoveEnabled = false; Orbwalker.AttackEnabled = false; if (ComboMenu.RCancelBool.Enabled && GameObjects.Player.CountEnemyHeroesInRange(R.Range) == 0) { GameObjects.Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos); } } else { Orbwalker.MoveEnabled = true; Orbwalker.AttackEnabled = true; } if (ComboMenu.RModeList.Index == 0) { ComboMenu.RSlider.Visible = true; } else { ComboMenu.RSlider.Visible = false; } Killsteal.CastE(); Killsteal.CastQ(); Killsteal.CastEGap(); switch (Orbwalker.ActiveMode) { case OrbwalkerMode.Combo: Combo.CastCombo(); Combo.CastR(); break; case OrbwalkerMode.Harass: Harass.CastHarass(); break; case OrbwalkerMode.LaneClear: if (LaneclearMenu.FarmToggleKey.Active) { Laneclear.CastQ(); Laneclear.CastW(); Laneclear.CastE(); } Jungleclear.CastW(); Jungleclear.CastE(); Jungleclear.CastQ(); break; case OrbwalkerMode.LastHit: if (LaneclearMenu.FarmToggleKey.Active) { Laneclear.CastQLast(); } break; } }