Minerblocks
3.4k Views
1.5k Executions

kill aura

Minerblocks
2k949
2k949Published 5
4 years ago
Please login to perform these actions:

kill aura is a Minerblocks script for Roblox, uploaded to ScriptBlox on Jun 28, 2022.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

(not mine) If somebody kill you execute the script again and equip the sword

View Raw
local utils = {};

local Players = game:GetService('Players');

local ReplicatedStorage = game:GetService("ReplicatedStorage");

local LocalPlayer = Players.LocalPlayer;

utils.attackPlayer = function(player)

    if (player.Character ~= nil) then ReplicatedStorage.GameRemotes.Attack:InvokeServer(player.Character) end

end

utils.getClosestPlayer = function()

    local Closest;

    for i,v in pairs(Players:GetPlayers()) do

        if (v ~= LocalPlayer and v.Character ~= nil and v.Character.PrimaryPart ~= nil) then

            if (Closest ~= nil) then

                if ((LocalPlayer.Character.PrimaryPart.Position-v.Character.PrimaryPart.Position).Magnitude < (LocalPlayer.Character.PrimaryPart.Position-Closest.Character.PrimaryPart.Position).Magnitude) then

                    Closest = v;

                end

            else

                Closest = v;

            end

        end

    end



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More Minerblocks scripts

See all
Minerblocks
13.7k
720
1 year ago
Key System
Minerblocks
5.6k
1.9k
4 years ago
Key System
Minerblocks
5.3k
1.3k
Bumped 2 months ago
Key System
Minerblocks
2.3k
17.1k
8 months ago
Minerblocks
2.4k
2.9k
10 months ago