1. warn("LOADED!")
  2. local chosenEnemy = nil;
  3. do
  4. local __namecall;
  5. __namecall = hookmetamethod(game, "__namecall", function(...)
  6. if getnamecallmethod() == "FireServer" then
  7. local args = {...}
  8. if args[5] == "SlashEvent" or args[5] == "StabEvent" then
  9. chosenEnemy = args[6].Parent
  10. end
  11. return __namecall(...)
  12. end
  13. return __namecall(...)
  14. end)
  15. end
  16. while task.wait() do
  17. if chosenEnemy ~= nil then
  18. if chosenEnemy:FindFirstChild("Humanoid") then
  19. local humanoid = chosenEnemy.Humanoid
  20. humanoid.Health = 0
  21. end
  22. end
  23. end