SHOW:
|
|
- or go back to the newest paste.
1 | -- Variable | |
2 | - | local player = game.Players.LocalPlayer |
2 | + | local player = game.Players.Rohan_Kishiba |
3 | ||
4 | -- KillAura | |
5 | while true do | |
6 | -- Check | |
7 | if player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChildOfClass("Tool") and player.Character:FindFirstChildOfClass("Tool"):FindFirstChild("Handle") then | |
8 | -- Tool | |
9 | local tool = player.Character:FindFirstChildOfClass("Tool") | |
10 | local traps = {} | |
11 | -- Grab | |
12 | local plrs = game.Players:GetPlayers() | |
13 | for i = 2, #plrs do local v = plrs[i].Character | |
14 | if v and not v:FindFirstChild("ForceField") and v:FindFirstChild("Head") and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then | |
15 | table.insert(traps,v) | |
16 | end | |
17 | end | |
18 | -- Sort | |
19 | table.sort(traps,function(a,b) | |
20 | return a.Humanoid.Health < b.Humanoid.Health | |
21 | end) | |
22 | -- Attack | |
23 | pcall(function() | |
24 | tool:Activate() | |
25 | firetouchinterest(tool.Handle,traps[1].Head,0) | |
26 | firetouchinterest(tool.Handle,traps[1].Head,1) | |
27 | end) | |
28 | end | |
29 | wait() | |
30 | end |