top of page

Gorilla vs Humans Script: Kill Aura

  • Writer: Batuhan Gülşen
    Batuhan Gülşen
  • 3 days ago
  • 1 min read

Gorilla vs Humans Script: Kill Aura
Gorilla vs Humans Script: Kill Aura
local localPlayer = game:GetService("Players").LocalPlayer
game:GetService("RunService").RenderStepped:Connect(function()
    local character = localPlayer.Character
    local target
    local closest = 50
    if localPlayer.Character:FindFirstChild("GORILLA_SUIT") then
        for _,v in workspace:GetChildren() do
            if game:GetService("Players"):FindFirstChild(v.Name) and v.Name ~= localPlayer.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 and (character.HumanoidRootPart.CFrame.Position - v.HumanoidRootPart.CFrame.Position).Magnitude < closest then
                target = v
                closest = (character.HumanoidRootPart.CFrame.Position - v.HumanoidRootPart.CFrame.Position).Magnitude
            end
        end
        if target and character:FindFirstChild("Gorilla Punch") then
            game:GetService("ReplicatedStorage").Packages.Knit.Services.WeaponService.RE.Melee:FireServer({Weapon = "Gorilla Punch",Targets = {target.Humanoid},Attack = 1})
        end
    elseif character:FindFirstChildWhichIsA("Tool") then
        for _,v in workspace:GetChildren() do
            if game:GetService("Players"):FindFirstChild(v.Name) and v.Name ~= localPlayer.Name and v:FindFirstChild("GORILLA_SUIT") then
                game:GetService("ReplicatedStorage").Packages.Knit.Services.WeaponService.RE.Melee:FireServer({Weapon = character:FindFirstChildWhichIsA("Tool").Name,Targets = {v.Humanoid},Attack = 1})
            end
        end
    end
end)

Comments


RobloxScriptCode

©2024, RobloxScriptCode.

bottom of page