Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. g_ScriptTitle = ("Copy Love Box,WB-bot.")
  2. g_ScriptInfo = ("By sistema")
  3.  
  4. HookTimer = 0
  5. time = 0
  6.  
  7. x = Game.LocalTee.Pos.x
  8. y = Game.LocalTee.Pos.y
  9.  
  10. function walk()
  11. if Game.LocalTee.Pos.x < 4424 and Game.LocalTee.Pos.y < 1617 then
  12. Game.Input.Direction = 1
  13. else
  14. if Game.LocalTee.Pos.x < 4424 - 40 then
  15. Game.Input.Direction = 1
  16. elseif Game.LocalTee.Pos.x > 4424 + 40 then
  17. Game.Input.Direction = -1
  18. else
  19. Game.Input.Direction = 0
  20. if Game.Client.LocalTime < INTERVAL + 0.13 then return end
  21. if Game.LocalTee.Pos.x < 2862 + math.random(30) then
  22. Game.Input.Direction = 1
  23. elseif Game.LocalTee.Pos.x > 2862 - math.random(30) then
  24. Game.Input.Direction = -1
  25. else
  26. Game.Input.Direction = 0
  27. end end end
  28. INTERVAL = Game.Client.LocalTime
  29.  
  30. end
  31.  
  32. function killy()
  33.  
  34. if stop == 1 then return end
  35.  
  36. if Game.LocalTee.Pos.y > 1681 then
  37. Game.Console:ExecuteLine("kill", 2)
  38. end
  39. end
  40.  
  41. function killx()
  42.  
  43.  
  44. if stop == 1 then return end
  45.  
  46. if Game.LocalTee.Pos.x == 4274 and Game.LocalTee.Pos.y == 1681 then
  47. Game.Console:ExecuteLine("kill", 2)
  48. end
  49.  
  50. if Game.LocalTee.Pos.x == 3237 and Game.LocalTee.Pos.y == 1681 then
  51. Game.Console:ExecuteLine("kill", 2)
  52. end
  53.  
  54. function hook()
  55.  
  56. if Game.Input.Hook == 1 and HookTimer == 15 then
  57. Game.Input.Hook = 0
  58. HookTimer = 0
  59. ok = false
  60. else
  61. Game.Input.Hook = 1
  62. HookTimer = HookTimer + 1
  63. end
  64.  
  65. end
  66.  
  67. function autohammer()
  68. for i=0,63,1 do
  69. if i ~= Game.LocalCID then
  70. Game.Input.WantedWeapon = 1
  71. if Game.Players(i).Friend == true then
  72. if Game.Players(i).Tee.Weapon == 5 then
  73. if Game.Players(i).Tee.Pos.x < Game.LocalTee.Pos.x + 50 and Game.Players(i).Tee.Pos.x > Game.LocalTee.Pos.x - 50 and Game.Players(i).Tee.Pos.y < Game.LocalTee.Pos.y + 50 and Game.Players(i).Tee.Pos.y > Game.LocalTee.Pos.y - 50 then
  74.  
  75. Game.Input.MouseX = Game.Players(i).Tee.Pos.x - Game.LocalTee.Pos.x
  76. Game.Input.MouseY = Game.Players(i).Tee.Pos.y - Game.LocalTee.Pos.y
  77. Hammer()
  78. end
  79. end
  80. end
  81. end end end
  82.  
  83. function aim()
  84. if Game.LocalTee.Pos.x <= 2250 then
  85.  
  86. else
  87. for i=0,63,1 do
  88. if i ~= Game.LocalCID then
  89. if Game.Players(i).Friend then
  90.  
  91. else
  92. if Game.Players(i).Tee.Pos.x < Game.LocalTee.Pos.x + 390 and Game.Players(i).Tee.Pos.x > Game.LocalTee.Pos.x - 390 and Game.Players(i).Tee.Pos.y < Game.LocalTee.Pos.y + 390 and Game.Players(i).Tee.Pos.y > Game.LocalTee.Pos.y - 390 then
  93. if i ~= Game.LocalCID then
  94. if Game.Players(i).Tee.Pos.x >= 2481 and Game.Players(i).Tee.Pos.y > 753 then
  95. Game.Input.WantedWeapon = 2
  96. Game.Input.Hook = 1
  97. Game.Input.TargetX = Game.Players(i).Tee.Pos.x - Game.LocalTee.Pos.x
  98. Game.Input.TargetY = Game.Players(i).Tee.Pos.y - Game.LocalTee.Pos.y
  99. Hook()
  100. end
  101. end
  102. end
  103. end
  104. end
  105. end end end
  106.  
  107. RegisterEvent("OnSnapInput", "killx")
  108. RegisterEvent("OnSnapInput", "killy")
  109. RegisterEvent("OnSnapInput", "walk")
  110. RegisterEvent("OnSnapInput", "aim")
  111. RegisterEvent("OnSnapInput", "hook")
  112. RegisterEvent("OnSnapInput", "autohammer")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement