get paid to paste

Piece Adventures Simulator Script | COLLECT...

_G.Spam = true

local KEY = "Q00" -- Change to E00 or R00 or T00 to use other skills, Q00 is the best since it has low cooldown
local closest

function GetClosestTorso()
   local plr = game.Players.LocalPlayer
   local plrtorso = plr.Character:FindFirstChild("HumanoidRootPart")
   local minDist = math.huge
   local closestTorso
   for _,v in pairs(game:GetService("Workspace").Enemies:GetDescendants()) do
       if v ~= plr then
           local torso = v:FindFirstChild("HumanoidRootPart")
           if torso then
               local dist = (torso.Position - plrtorso.Position).magnitude
               if dist < minDist then
                   minDist = dist
                   closestTorso = torso
               end
           end
       end
   end
   closest = closestTorso
   return closestTorso
end

while _G.Spam do
    task.wait()
    GetClosestTorso()
    if closest and closest.Parent and closest.Parent:FindFirstChild("Humanoid") then
        game:GetService("ReplicatedStorage")._remotes.HitboxCreationEvent:FireServer(KEY, closest.Parent.Humanoid)
    end
end

Pasted: Feb 16, 2023, 12:37:30 am
Views: 20