Advertisement
_Thanh_Thy_Cute_

BedWars ANTIKNOCKBACK

Jul 3rd, 2021
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. for i,v in pairs(getgc(true)) do
  2. if type(v) == 'function' and debug.getinfo(v).name == 'getBlockPosition' then
  3. _G.getBlockPosition = v
  4. end
  5. if type(v) == 'function' and debug.getinfo(v).name == 'convertToBlockPosition' then
  6. _G.conv = v
  7. end
  8. if type(v) == 'function' and debug.getinfo(v).name == 'isBlockBreakable' then
  9. x = hookfunction(v,function(...) if breakall == true then return true end return x(...) end)
  10. end
  11. if type(v) == 'function' and getinfo(v).name == 'getEntity' then
  12. _G.entity = v
  13. end
  14. if type(v) == 'function' and debug.getinfo(v).name == 'requestSelfDamage' then
  15. x = hookfunction(v,function(...) if falldamage == true then return wait() end return x(...) end)
  16. end
  17. if type(v) == 'function' and getinfo(v).name == 'attackEntity' then
  18. _G.attack = v
  19. end
  20. if type(v) == 'function' and getinfo(v).name == 'applyKnockback' then
  21. _G.knockback = v
  22. end
  23. if type(v) == 'function' and getinfo(v).name == 'dropItemInHand' then
  24. _G.dropitem = v
  25. end
  26. if type(v) == 'table' and rawget(v,'lastAttack') and rawget(v,'lastSwing') and v.Name == 'SwordController' then
  27. _G.t = v
  28. end
  29. if type(v) == 'table' and rawget(v,'blockType') and v.blockType == "wool_"..string.lower(tostring(game.Players.LocalPlayer.Team)) then
  30. _G.whitewool = v
  31. end
  32.  
  33. if type(v) == 'function' and debug.getinfo(v).name == 'placeBlock' and _G.placeBlock == nil then
  34. _G.placeBlock = v
  35.  
  36. end
  37. end
  38.  
  39. knockback = hookfunction(_G.knockback, function(...)
  40. if knock == true then
  41. return wait()
  42. else
  43. return knockback(...)
  44. end
  45. end)
  46.  
  47. local CoreGui = game:GetService("StarterGui")
  48.  
  49. CoreGui:SetCore("SendNotification", {
  50. Title = "Destroy Blocks Errors";
  51. Text = "If you use krnl and you cant destroy block, enable [Allow Break All Blocks] toggle";
  52. Duration = math.huge;
  53. Button1 = "Okay";
  54. Button2 = "I use good exploit";
  55. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement