Advertisement
anonmods

Dragon Blade Open World Script 1

Jan 23rd, 2022
845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. --BROUGHT TO YOU BY ANONMODS.COM--
  2.  
  3. local old
  4. old = hookmetamethod(game,"__namecall",function(self,...)
  5. local method = getnamecallmethod()
  6. if method:lower() == "invokeserver" and not checkcaller() then
  7. local args = {...}
  8. if (tostring(self) == "TakeDamageFunc") then
  9. args[1].Blunt = 1e+99
  10. return old(self,unpack(args))
  11. elseif (tostring(self) == "ChangeToolDurability") then
  12. return 100
  13. elseif tostring(self) == "RequestUnbuildPart" then
  14. args[2].Environment = 500
  15. return old(self,unpack(args))
  16. end
  17. end
  18. return old(self,...)
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement