MADE BY slixx
- REACH EXTEND
GAME LINK:
SLAP BATTLES
SCRIPT:
local plrs = game:GetService("Players");
local plr = game.Players.LocalPlayer;
function closestplr()
local dist,plr = math.huge;
for i,v in next, plrs:GetPlayers() do
if v ~= plr then
local char = v.Character;
if char then
if game.Players.LocalPlayer.Character and char:FindFirstChild("HumanoidRootPart") and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
local magnitude = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - char.HumanoidRootPart.Position).Magnitude;
if magnitude < dist then
dist = magnitude
plr = v;
end
end
end
end
end
return plr;
end
game:GetService("RunService").RenderStepped:Connect(function()
if plr.Character then
local char = plr.Character;
if char:FindFirstChildWhichIsA("Tool") then
local t = char:FindFirstChildWhichIsA("Tool");
local closest = closestplr();
t.Glove.Size = Vector3.new(30,30,30)
if closest then
firetouchinterest(t.Glove.TouchInterest,closest.Character.HumanoidRootPart,0)
task.wait()
firetouchinterest(t.Glove.TouchInterest,closest.Character.HumanoidRootPart,1)
t.Glove.CFrame = CFrame.new(char:FindFirstChild("HumanoidRootPart").Position)
end
end
end
end)