sociophobia

Untitled

Jul 25th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. --Laiha senpai Nidaale 25.07.2015 FREE FPS DROP ALL THE WAY BITCH \O/
  2.  
  3. require('Inspired')
  4. require('IWalk')
  5. AddInfo("nida", "Laiha senpai:")
  6. AddInfo("nida2", "V=poke")
  7. AddInfo("nida3", "SPACEBAR=combo")
  8. AddButton("toggle", "Toggle Poke", true)
  9.  
  10. OnLoop(function(myHero)
  11. unit = GetCurrentTarget()
  12. getForm()
  13. if GetKeyValue("Combo") then
  14.  
  15. combo()
  16. end
  17. if KeyIsDown(0x56) then
  18. poke()
  19. end
  20. if GetButtonValue("toggle") then
  21. poke()
  22. end
  23.  
  24. end)
  25.  
  26. function getForm()
  27. myHero = GetMyHero()
  28. local form=0
  29. if GetCastName(myHero,_Q)== "Takedown" then
  30. form=1 --1=sexyjaguar for me
  31. end
  32. return form
  33. end
  34.  
  35. function combo(unit)
  36. --oourSkillshotSpeed,SkillShotDelay,SkillShotRange,SkillShotWidth
  37. qpred = mypred =GetPredictionForPlayer(GetMyHeroPos(),getOrigin(unit),GetMoveSpeed(unit),1300,0.5,1500,35,true,true);
  38. wpred= qpred = GetPredictionForPlayer(GetMyHeroPos(),getOrigin(unit),GetMoveSpeed(unit),1500,0.5,750,95,true,true);
  39. wpred2= qpred = GetPredictionForPlayer(GetMyHeroPos(),getOrigin(unit),GetMoveSpeed(unit),1300,0.5,750,95,true,true);
  40. z=getForm()
  41. if z == 0 then
  42. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  43. CastSkillShot(_Q,qpred.PredPos.x,qpred.PredPos.y,qpred.PredPos.z)
  44. end
  45. if GetBuffCount(unit),i)>0 and GetBuffName(myHero,i):lower():find("hunted") and IsInDistance(unit,750) then
  46. CastTargetSpell(myHero,_R)
  47. CastSkillShot(_W,wpred.PredPos.x,wpred.PredPos.y,wpred.PredPos.z)
  48. end
  49. elseif calclife()>50 then
  50. CastSkillShot(_W,wpred.PredPos.x,wpred.PredPos.y,wpred.PredPos.z)
  51. end
  52. else
  53. CastTargetSpell(myHero,_R)
  54. end
  55.  
  56.  
  57.  
  58. end
  59.  
  60.  
  61. function calclife(unit,myHero)
  62. local multiplier =100/GetCurrentHP(myHero)
  63. local y=GetCurrentHp(unit)
  64. return (x*multiplier)-(y*multiplier)
  65. end
Advertisement
Add Comment
Please, Sign In to add comment