- warn("LOADED!")
- local chosenEnemy = nil;
-
- do
- local __namecall;
- __namecall = hookmetamethod(game, "__namecall", function(...)
- if getnamecallmethod() == "FireServer" then
- local args = {...}
- if args[5] == "SlashEvent" or args[5] == "StabEvent" then
- chosenEnemy = args[6].Parent
- end
- return __namecall(...)
- end
- return __namecall(...)
- end)
- end
-
- while task.wait() do
- if chosenEnemy ~= nil then
- if chosenEnemy:FindFirstChild("Humanoid") then
- local humanoid = chosenEnemy.Humanoid
- humanoid.Health = 0
- end
- end
- end