Advertisement
Helgodxdd

Throw Knives

Oct 14th, 2020 (edited)
3,209
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.  
  3. ██████╗░███████╗███████╗░█████╗░██████╗░███████╗  ██╗░░░██╗░█████╗░██╗░░░██╗
  4. ██╔══██╗██╔════╝██╔════╝██╔══██╗██╔══██╗██╔════╝  ╚██╗░██╔╝██╔══██╗██║░░░██║
  5. ██████╦╝█████╗░░█████╗░░██║░░██║██████╔╝█████╗░░  ░╚████╔╝░██║░░██║██║░░░██║
  6. ██╔══██╗██╔══╝░░██╔══╝░░██║░░██║██╔══██╗██╔══╝░░  ░░╚██╔╝░░██║░░██║██║░░░██║
  7. ██████╦╝███████╗██║░░░░░╚█████╔╝██║░░██║███████╗  ░░░██║░░░╚█████╔╝╚██████╔╝
  8. ╚═════╝░╚══════╝╚═╝░░░░░░╚════╝░╚═╝░░╚═╝╚══════╝  ░░░╚═╝░░░░╚════╝░░╚═════╝░
  9.  
  10. ░██████╗████████╗░█████╗░██████╗░████████╗  ░██████╗░█████╗░██╗░░░██╗██╗███╗░░██╗░██████╗░  ██╗██╗
  11. ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗╚══██╔══╝  ██╔════╝██╔══██╗╚██╗░██╔╝██║████╗░██║██╔════╝░  ╚█║╚█║
  12. ╚█████╗░░░░██║░░░███████║██████╔╝░░░██║░░░  ╚█████╗░███████║░╚████╔╝░██║██╔██╗██║██║░░██╗░  ░╚╝░╚╝
  13. ░╚═══██╗░░░██║░░░██╔══██║██╔══██╗░░░██║░░░  ░╚═══██╗██╔══██║░░╚██╔╝░░██║██║╚████║██║░░╚██╗  ░░░░░░
  14. ██████╔╝░░░██║░░░██║░░██║██║░░██║░░░██║░░░  ██████╔╝██║░░██║░░░██║░░░██║██║░╚███║╚██████╔╝  ░░░░░░
  15. ╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░  ╚═════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝╚═╝░░╚══╝░╚═════╝░  ░░░░░░
  16.  
  17. ░█████╗░██╗░░██╗  ██╗  ░█████╗░░█████╗░███╗░░██╗░██████╗████████╗░█████╗░███╗░░██╗████████╗
  18. ██╔══██╗██║░░██║  ██║  ██╔══██╗██╔══██╗████╗░██║██╔════╝╚══██╔══╝██╔══██╗████╗░██║╚══██╔══╝
  19. ██║░░██║███████║  ██║  ██║░░╚═╝██║░░██║██╔██╗██║╚█████╗░░░░██║░░░███████║██╔██╗██║░░░██║░░░
  20. ██║░░██║██╔══██║  ██║  ██║░░██╗██║░░██║██║╚████║░╚═══██╗░░░██║░░░██╔══██║██║╚████║░░░██║░░░
  21. ╚█████╔╝██║░░██║  ██║  ╚█████╔╝╚█████╔╝██║░╚███║██████╔╝░░░██║░░░██║░░██║██║░╚███║░░░██║░░░
  22. ░╚════╝░╚═╝░░╚═╝  ╚═╝  ░╚════╝░░╚════╝░╚═╝░░╚══╝╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚══╝░░░╚═╝░░░
  23.  
  24. ██████╗░██╗░░░██╗███╗░░░███╗██████╗░███████╗██████╗░  ██╗░░░██╗░█████╗░██╗░░░██╗██████╗░
  25. ██╔══██╗██║░░░██║████╗░████║██╔══██╗██╔════╝██╔══██╗  ╚██╗░██╔╝██╔══██╗██║░░░██║██╔══██╗
  26. ██║░░██║██║░░░██║██╔████╔██║██████╔╝█████╗░░██║░░██║  ░╚████╔╝░██║░░██║██║░░░██║██████╔╝
  27. ██║░░██║██║░░░██║██║╚██╔╝██║██╔═══╝░██╔══╝░░██║░░██║  ░░╚██╔╝░░██║░░██║██║░░░██║██╔══██╗
  28. ██████╔╝╚██████╔╝██║░╚═╝░██║██║░░░░░███████╗██████╔╝  ░░░██║░░░╚█████╔╝╚██████╔╝██║░░██║
  29. ╚═════╝░░╚═════╝░╚═╝░░░░░╚═╝╚═╝░░░░░╚══════╝╚═════╝░  ░░░╚═╝░░░░╚════╝░░╚═════╝░╚═╝░░╚═╝
  30.  
  31. ░██████╗██╗░░██╗██╗████████╗░░░  ██╗░░██╗███████╗███████╗██████╗░  ██╗███╗░░██╗
  32. ██╔════╝██║░░██║██║╚══██╔══╝░░░  ██║░██╔╝██╔════╝██╔════╝██╔══██╗  ██║████╗░██║
  33. ╚█████╗░███████║██║░░░██║░░░░░░  █████═╝░█████╗░░█████╗░░██████╔╝  ██║██╔██╗██║
  34. ░╚═══██╗██╔══██║██║░░░██║░░░██╗  ██╔═██╗░██╔══╝░░██╔══╝░░██╔═══╝░  ██║██║╚████║
  35. ██████╔╝██║░░██║██║░░░██║░░░╚█║  ██║░╚██╗███████╗███████╗██║░░░░░  ██║██║░╚███║
  36. ╚═════╝░╚═╝░░╚═╝╚═╝░░░╚═╝░░░░╚╝  ╚═╝░░╚═╝╚══════╝╚══════╝╚═╝░░░░░  ╚═╝╚═╝░░╚══╝
  37.  
  38. ███╗░░░███╗██╗███╗░░██╗██████╗░  ████████╗██╗░░██╗░█████╗░████████╗  ████████╗██╗░░██╗██╗░██████╗
  39. ████╗░████║██║████╗░██║██╔══██╗  ╚══██╔══╝██║░░██║██╔══██╗╚══██╔══╝  ╚══██╔══╝██║░░██║██║██╔════╝
  40. ██╔████╔██║██║██╔██╗██║██║░░██║  ░░░██║░░░███████║███████║░░░██║░░░  ░░░██║░░░███████║██║╚█████╗░
  41. ██║╚██╔╝██║██║██║╚████║██║░░██║  ░░░██║░░░██╔══██║██╔══██║░░░██║░░░  ░░░██║░░░██╔══██║██║░╚═══██╗
  42. ██║░╚═╝░██║██║██║░╚███║██████╔╝  ░░░██║░░░██║░░██║██║░░██║░░░██║░░░  ░░░██║░░░██║░░██║██║██████╔╝
  43. ╚═╝░░░░░╚═╝╚═╝╚═╝░░╚══╝╚═════╝░  ░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░  ░░░╚═╝░░░╚═╝░░╚═╝╚═╝╚═════╝░
  44.  
  45. ██╗░██████╗  ░░░░░██╗██╗░░░██╗░██████╗████████╗  ████████╗██╗░░██╗███████╗
  46. ██║██╔════╝  ░░░░░██║██║░░░██║██╔════╝╚══██╔══╝  ╚══██╔══╝██║░░██║██╔════╝
  47. ██║╚█████╗░  ░░░░░██║██║░░░██║╚█████╗░░░░██║░░░  ░░░██║░░░███████║█████╗░░
  48. ██║░╚═══██╗  ██╗░░██║██║░░░██║░╚═══██╗░░░██║░░░  ░░░██║░░░██╔══██║██╔══╝░░
  49. ██║██████╔╝  ╚█████╔╝╚██████╔╝██████╔╝░░░██║░░░  ░░░██║░░░██║░░██║███████╗
  50. ╚═╝╚═════╝░  ░╚════╝░░╚═════╝░╚═════╝░░░░╚═╝░░░  ░░░╚═╝░░░╚═╝░░╚═╝╚══════╝
  51.  
  52. ████████╗██╗░░██╗██████╗░░█████╗░░██╗░░░░░░░██╗  ██╗░░██╗███╗░░██╗██╗███████╗███████╗░██████╗██╗
  53. ╚══██╔══╝██║░░██║██╔══██╗██╔══██╗░██║░░██╗░░██║  ██║░██╔╝████╗░██║██║██╔════╝██╔════╝██╔════╝██║
  54. ░░░██║░░░███████║██████╔╝██║░░██║░╚██╗████╗██╔╝  █████═╝░██╔██╗██║██║█████╗░░█████╗░░╚█████╗░██║
  55. ░░░██║░░░██╔══██║██╔══██╗██║░░██║░░████╔═████║░  ██╔═██╗░██║╚████║██║██╔══╝░░██╔══╝░░░╚═══██╗╚═╝
  56. ░░░██║░░░██║░░██║██║░░██║╚█████╔╝░░╚██╔╝░╚██╔╝░  ██║░╚██╗██║░╚███║██║██║░░░░░███████╗██████╔╝██╗
  57. ░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░╚═╝░░  ╚═╝░░╚═╝╚═╝░░╚══╝╚═╝╚═╝░░░░░╚══════╝╚═════╝░╚═╝
  58.  
  59. ██╗░░░░░░█████╗░██╗░░░░░██╗██╗
  60. ██║░░░░░██╔══██╗██║░░░░░╚█║╚█║
  61. ██║░░░░░██║░░██║██║░░░░░░╚╝░╚╝
  62. ██║░░░░░██║░░██║██║░░░░░░░░░░░
  63. ███████╗╚█████╔╝███████╗░░░░░░
  64. ╚══════╝░╚════╝░╚══════╝░░░░░░]]
  65.  
  66.  
  67.  
  68.  
  69. local localPlayer = game:GetService("Players").LocalPlayer
  70. local currentCamera = game:GetService("Workspace").CurrentCamera
  71. local mouse = localPlayer:GetMouse()
  72. local Knife = game:GetService("Workspace")[game.Players.LocalPlayer.Name]:WaitForChild("Knife")
  73. local knife = game:GetService("Players").LocalPlayer.Backpack:WaitForChild("Knife")
  74. local Exploit = XPROTECT and not syn_checkcaller and "SirHurt" or syn and "Synapse X" or KRNL_LOADED and "Krnl"
  75.  
  76. local function getClosestPlayerToCursor() [nonamecall]
  77. local closestPlayer = nil
  78. local shortestDistance = math.huge
  79.  
  80. for i, v in pairs(game:GetService("Players"):GetPlayers()) do
  81. if v.Name ~= localPlayer.Name then
  82. if v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
  83. local pos = currentCamera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
  84. local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  85.  
  86. if magnitude < shortestDistance then
  87. closestPlayer = v
  88. shortestDistance = magnitude
  89. end
  90. end
  91. end
  92. end
  93.  
  94. return closestPlayer or localPlayer
  95. end
  96.  
  97.  
  98. if Exploit == 'Krnl' or KRNL_LOADED then
  99. wait(1)
  100. game.StarterGui:SetCore("SendNotification", {
  101. Title = "Detected KRNL :(";
  102. Text = "Use Synapse X To Experience The Total Power Of BAC :sunglasses:"; -- what the text says (ofc)
  103. Duration = 5;
  104. })
  105. mouse.KeyDown:Connect(function(gol)
  106. if gol == 'r' then
  107. wait(.1)
  108. mouse1down()
  109. wait(.24)
  110. if localPlayer:DistanceFromCharacter(getClosestPlayerToCursor().Character.HumanoidRootPart.Position) <= 27 then
  111. game:GetService("ReplicatedStorage").Remotes.ThrowKnife:FireServer(getClosestPlayerToCursor().Character.Head.Position + Vector3.new((getClosestPlayerToCursor().Character.Head.Velocity.X >= 1 and 1) or (getClosestPlayerToCursor().Character.Head.Velocity.X <= -1 and -1) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Y >= 1 and 1) or (getClosestPlayerToCursor().Character.Head.Velocity.Y <= -1 and -1) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Z >= 1 and 1) or (getClosestPlayerToCursor().Character.Head.Velocity.Z <= -1 and -1) or 0),0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  112. elseif localPlayer:DistanceFromCharacter(getClosestPlayerToCursor().Character.HumanoidRootPart.Position) >= 28 then
  113. game:GetService("ReplicatedStorage").Remotes.ThrowKnife:FireServer(getClosestPlayerToCursor().Character.Head.Position + Vector3.new((getClosestPlayerToCursor().Character.Head.Velocity.X >= 3 and 3) or (getClosestPlayerToCursor().Character.Head.Velocity.X <= -3 and -3) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Y >= 3 and 3) or (getClosestPlayerToCursor().Character.Head.Velocity.Y <= -3 and -3) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Z >= 3 and 3) or (getClosestPlayerToCursor().Character.Head.Velocity.Z <= -3 and -3) or 0),0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  114. end
  115. end
  116. end)
  117. else
  118. mouse.KeyDown:Connect(function(go)
  119. if go == 'r' then
  120. for i,v in next, game.Players.LocalPlayer.Backpack:GetChildren() do
  121. if v:isA("Tool") and v.Name == "Knife" then
  122. game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  123. wait(.1)
  124. mouse1press()
  125. wait(.24)
  126. if localPlayer:DistanceFromCharacter(getClosestPlayerToCursor().Character.HumanoidRootPart.Position) <= 27 then
  127. game:GetService("ReplicatedStorage").Remotes.ThrowKnife:FireServer(getClosestPlayerToCursor().Character.Head.Position + Vector3.new((getClosestPlayerToCursor().Character.Head.Velocity.X >= 1 and 1) or (getClosestPlayerToCursor().Character.Head.Velocity.X <= -1 and -1) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Y >= 1 and 1) or (getClosestPlayerToCursor().Character.Head.Velocity.Y <= -1 and -1) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Z >= 1 and 1) or (getClosestPlayerToCursor().Character.Head.Velocity.Z <= -1 and -1) or 0),0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  128. elseif localPlayer:DistanceFromCharacter(getClosestPlayerToCursor().Character.HumanoidRootPart.Position) >= 28 then
  129. game:GetService("ReplicatedStorage").Remotes.ThrowKnife:FireServer(getClosestPlayerToCursor().Character.Head.Position + Vector3.new((getClosestPlayerToCursor().Character.Head.Velocity.X >= 3 and 3) or (getClosestPlayerToCursor().Character.Head.Velocity.X <= -3 and -3) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Y >= 3 and 3) or (getClosestPlayerToCursor().Character.Head.Velocity.Y <= -3 and -3) or 0, (getClosestPlayerToCursor().Character.Head.Velocity.Z >= 3 and 3) or (getClosestPlayerToCursor().Character.Head.Velocity.Z <= -3 and -3) or 0),0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  130. end
  131. wait(.75)
  132. game.Players.LocalPlayer.Character.Humanoid:UnequipTools(v)
  133. end
  134. end
  135. end
  136. end)
  137. end
  138.  
  139.  
  140.  
  141. print"executed"
Advertisement
RAW Paste Data Copied
Advertisement