Advertisement
x_zstd

Silly J to hit (Only works on cords 83 -86 2)

Jun 30th, 2024 (edited)
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. --This only works on cords 83-86 2
  2. local u = game:GetService("UserInputService")
  3.  
  4. u.InputBegan:Connect(function(input)
  5. if input.KeyCode == Enum.KeyCode.J then
  6.  
  7.  
  8. function getNil(name,class) for _,v in next, getnilinstances() do if v.ClassName==class and v.Name==name then return v;end end end
  9.  
  10. local target = "chicken472399" --put your enemie here and on line 14
  11.  
  12. local args = {
  13. [1] = getNil("TouchPart", "LocalScript"),
  14. [2] = game:GetService("Lighting"):WaitForChild("Kick2"),
  15. [3] = game:GetService("Players"):WaitForChild("chicken472399").Character.LeftUpperLeg,
  16. [4] = 2,
  17. [5] = 10,
  18. [6] = game.Workspace[target].HumanoidRootPart.CFrame
  19. [7] = false,
  20. [8] = 0,
  21. [9] = getNil("Animation", "Animation"),
  22. [10] = true,
  23. [11] = 1,
  24. [12] = game:GetService("Players").LocalPlayer.Character.RightFoot,
  25. [13] = false
  26. }
  27.  
  28. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("HitReg"):FireServer(unpack(args))
  29.  
  30. end
  31. end)
  32. --https://discord.gg/QRDaCS59
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement