Advertisement
NekoWaifu

Untitled

May 16th, 2018
1,463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. ----- LOAD HOOK API -----
  2. local Script = game:HttpGet('https://pastebin.com/raw/R5pzJpmv', true)
  3. getgenv().__debug = loadstring(Script)()
  4. -------------------------------
  5.  
  6. local P = game:GetService('Players').LocalPlayer
  7. __debug.setwrite('Humanoid', 'WalkSpeed', false)
  8. __debug.setwrite('Humanoid', 'JumpPower', false)
  9. __debug.set('Humanoid', 'WalkSpeed', function()
  10. return 16
  11. end)
  12.  
  13. __debug.set('Humanoid', 'JumpPower', function()
  14. return 50
  15. end)
  16.  
  17. local Char = P.Character or P.CharacterAdded:wait()
  18. local H = Char:WaitForChild('Humanoid')
  19. _G.WS = 23
  20. _G.JP = 55
  21.  
  22. __debug.rawset(H, 'WalkSpeed', _G.WS)
  23. __debug.rawset(H, 'JumpPower', _G.JP)
  24. spawn(function()
  25. while wait() do
  26. if __debug.rawget(H, 'WalkSpeed') ~= _G.WS then
  27. __debug.rawset(H, 'WalkSpeed', _G.WS)
  28. end
  29.  
  30. if __debug.rawget(H, 'JumpPower') ~= _G.JP then
  31. __debug.rawset(H, 'JumpPower', _G.JP)
  32. end
  33. end
  34. end)
  35.  
  36. P.CharacterAdded:Connect(function(C)
  37. local H = C:WaitForChild('Humanoid')
  38. while wait() do
  39. if __debug.rawget(H, 'WalkSpeed') ~= _G.WS then
  40. __debug.rawset(H, 'WalkSpeed', _G.WS)
  41. end
  42.  
  43. if __debug.rawget(H, 'JumpPower') ~= _G.JP then
  44. __debug.rawset(H, 'JumpPower', _G.JP)
  45. end
  46. end
  47. end)
  48.  
  49.  
  50. local UserInputService = game:GetService("UserInputService")
  51. local localPlayer = game.Players.LocalPlayer
  52. local character
  53. local humanoid
  54.  
  55. function onJumpRequest()
  56. humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  57. end
  58.  
  59. local function characterAdded(newCharacter)
  60. character = newCharacter
  61. humanoid = newCharacter:WaitForChild("Humanoid")
  62. end
  63.  
  64. if localPlayer.Character then
  65. characterAdded(localPlayer.Character)
  66. end
  67.  
  68. localPlayer.CharacterAdded:connect(characterAdded)
  69. UserInputService.JumpRequest:connect(onJumpRequest)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement