Advertisement
ThicMayo

Arcane Lineage Script [1]

Jul 11th, 2023
1,847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. -- WeaponList:
  2. -- "Spear", "Magic", "Dagger", "Fist", "Sword"
  3. local Weapon = "Sword"
  4.  
  5.  
  6. for i,v in next, getgc() do
  7. if typeof(v) == "function" and islclosure(v) and not isexecutorclosure(v) then
  8. local Constants = debug.getconstants(v)
  9.  
  10. if table.find(Constants, "Detected") and table.find(Constants, "crash") then
  11. setthreadidentity(2)
  12. hookfunction(v, function()
  13. return task.wait(9e9)
  14. end)
  15. setthreadidentity(7)
  16. end
  17. end
  18. end
  19.  
  20. task.wait()
  21. local old
  22. old = hookmetamethod(game, "__namecall", function(self, ...)
  23. if self.Name == "RemoteFunction" and getnamecallmethod() == "FireServer" then
  24. local args = {...}
  25. if args[2] == "DodgeMinigame" and typeof(args[1]) == "table" then
  26. args[1] = {true, true}
  27. return old(self, unpack(args))
  28. end
  29. end
  30. return old(self, ...)
  31. end)
  32.  
  33. task.wait()
  34. local old2
  35. old2 = hookmetamethod(game, "__namecall", function(self, ...)
  36. if self.Name == "RemoteFunction" and getnamecallmethod() == "FireServer" then
  37. local args = {...}
  38. if args[2] == Weapon.."QTE" then
  39. args[1] = true
  40. return old2(self, unpack(args))
  41. end
  42. end
  43. return old2(self, ...)
  44. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement