Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if myHero.charName ~= "Skarner" then return end
- require "DamageLib"
- Callback.Add('Load',function()
- PrintChat("Skarner")
- end)
- Q = {Delay = 0.25, Radius = 200, Range = 100, Speed = 2000, Collision = false}
- W = {Delay = 0.25, Radius = 1, Range = 1, Speed = 1, Collision = true}
- E = {Delay = 0.25, Radius = 230, Range = 980, Speed = 1500, Collision = false}
- R = {Delay = 0.25, Radius = 200, Range = 350, Speed = 1, Collision = true}
- Menu:MenuElement({type = MENU, id = "Key", name = "Key Settings"})
- Menu.Key:MenuElement({id = "ComboKey", name = "Combo Key", key = 32})
- Menu.Key:MenuElement({id = "FarmKey", name = "Farm Key", key = 86})
- Menu:MenuElement({type = MENU, id = "Combo", name = "Combo Settings"})
- Menu.Combo:MenuElement({id = "Q", name = "Q", value = true})
- Menu.Combo:MenuElement({id = "W", name = "W", value = true})
- Menu.Combo:MenuElement({id = "E", name = "E", value = true})
- Menu.Combo:MenuElement({id = "R", name = "R", value = true})
- Callback.Add('Tick',function()
- if Menu.Key.Combokey:Value() then
- if isReady(_Q) and Menu.Combo.Q:Value() then
- Control.CastSpell(hk_Q)
- end
- end
- if isReady(_W) and Menu.Combo.W:Value() then
- Control.CastSpell(hk_W)
- end
- end
- if isReady(_E) and Menu.Combo.E:Value() then
- local eTarget = GetTarget(E.Range)
- if qTarget and qTarget:GetCollision(E.Radius, E.Speed, E.Delay) == 0 then
- local qPos = qTarget:GetPrediction(E.Speed, E.Delay)
- Control.CastSpell(HK_E, ePos)
- end
- end
- if isReady(_R) and Menu.Combo.ComboW:Value() then
- local RTarget = GetTarget(R.Range)
- if wTarget then
- local wPos = wTarget:GetPrediction(R.Radius, R.Delay)
- Control.CastSpell(HK_R)
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement