RandomMagics

Dragon Blade Open World RPG

Jan 18th, 2022
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. ---Instant Kill, Instant Break/Mine, No Durability Loss
  2. ---Code:
  3.  
  4. local old
  5. old = hookmetamethod(game,"__namecall",function(self,...)
  6. local method = getnamecallmethod()
  7. if method:lower() == "invokeserver" and not checkcaller() then
  8. local args = {...}
  9. if (tostring(self) == "TakeDamageFunc") then
  10. args[1].Blunt = 1e+99
  11. return old(self,unpack(args))
  12. elseif (tostring(self) == "ChangeToolDurability") then
  13. return 100
  14. elseif tostring(self) == "RequestUnbuildPart" then
  15. args[2].Environment = 500
  16. return old(self,unpack(args))
  17. end
  18. end
  19. return old(self,...)
  20. end)
  21.  
  22. ********************************************************
  23. ---hitbox expander
  24. ---Code:
  25.  
  26.  
  27. local OneHand = require(game:GetService("ReplicatedStorage").SharedData.StanceData.OneHand)
  28. local Pole = require(game:GetService("ReplicatedStorage").SharedData.StanceData.Pole)
  29. local TwoHand = require(game:GetService("ReplicatedStorage").SharedData.StanceData.TwoHand)
  30.  
  31. for i,v in pairs(OneHand.Attacks) do
  32. v.DamageVolume.Size = Vector3.new(20,20,20)
  33. end
  34. for i,v in pairs(Pole.Attacks) do
  35. v.DamageVolume.Size = Vector3.new(20,20,20)
  36. end
  37. for i,v in pairs(TwoHand.Attacks) do
  38. v.DamageVolume.Size = Vector3.new(20,20,20)
  39. end
Advertisement
Add Comment
Please, Sign In to add comment