Legend Piece Script | INSTANT KILL MOBS

Png-66.png

Created by CompileError

Features:

  • INSTANT KILL MOBS
--[[
   You have to hit the mob to get kill credit
   I am to lazy to make an auto farm if you really want to do it urself

   litterally just punch the mob you want to get the kill credit for and press the singlekey
   it will kill the nearest mob

   Script by: CompileError
   Im not gonna bother doing anything else with this if you want to add it to a hub be my guest
   If the devs give any shits about this game it would be patch pretty quick anyways so yeah

   litterally just deletes the UpperTorso XD
   No it does not work on players
   I have not tried it on NPCs nor am I going to

   Do what you want with this
   you can also change the key bind as idk what keys are and are not used in game
   Defult G
]]

local singlekey = "G" -- kills nearest mob

--some setup
local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService('UserInputService')

local LocalPlayer = game:GetService('Players').LocalPlayer

local mobs = game:GetService("Workspace").Monster

local function getNearestMob()
   local closest
   local closestmagnitude

   for _,mob in pairs(mobs:GetChildren()) do
       local distance = LocalPlayer:DistanceFromCharacter(mob.PrimaryPart.Position)
       if closest and distance < closestmagnitude then
           closestmagnitude = distance
           closest = mob
       elseif not closest then
           closestmagnitude = distance
           closest = mob
       end
   end
   return closest
end

StarterGui:SetCore("SendNotification", {
   Title = "Legned Piece Kill mob";
   Text = "Made by: CompileError"
})

--the script

UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
   if not gameProcessedEvent then
       local keycode = input.KeyCode
       if input.UserInputType == Enum.UserInputType.Keyboard then
           local keycode = input.KeyCode
           if keycode == Enum.KeyCode[singlekey] then
               local mob = getNearestMob()
               mob.UpperTorso:Destroy() --insta kill I know so difficult the most complex script
               StarterGui:SetCore("SendNotification", {
                   Title = "killed nearest mob";
                   Text = "/me dabs"
               })
           end
       end
   end
end)

 

ENJOY!

 

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script or Get it from Pastebin!

About Us

What is arponag.xyz? arponag.xyz is a website focused on releasing safe exploits, we only release the best and most trusted exploits on our website, guaranteed to satisfy you. Contact us [email protected]

Safety

Is this safe to use? Everything on the website has been scanned and tested by professionals and the community, we only release the best exploits for our users, so we make sure that our exploits won’t harm your devices, everything here is clean.

Copyright © 2018 – 2020 Arpon AG | All rights reserved |
Privacy Policy | Terms of Service