Vortexture

Star Wars: Bounty Hunters: Mecha Script

May 30th, 2020
1,329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 25.72 KB | None | 0 0
  1. repeat wait() until game:FindFirstChild("Players") ~= nil
  2. repeat wait() until game.Players.LocalPlayer ~= nil
  3.  
  4. if game.GameId ~= 1439394369 then
  5.     return
  6. end
  7.  
  8. local LocalP = game.Players.LocalPlayer
  9. local mouse = LocalP:GetMouse()
  10.  
  11. local DefaultSimRad = game.Players.LocalPlayer.SimulationRadius
  12. local DefaultMaxSimRad = game.Players.LocalPlayer.MaximumSimulationRadius
  13. local ExpandSimRadius = false
  14. local ExpandSimDebounce = false
  15.  
  16. local Target = nil
  17. local AutoKillBounty = false
  18. local AutoKillEveryoneBounty = false
  19. local AutoKillDroids = false
  20.  
  21. local LoopKillDebounce = false
  22. local LoopKill = {}
  23.  
  24. local InfAmmo = false
  25.  
  26. local meta = getrawmetatable(game)
  27. local namecall = meta.__namecall
  28. local index = meta.__index
  29.  
  30. if PROTOSMASHER_LOADED then
  31.     make_writeable(meta, true)
  32. else
  33.     setreadonly(meta, false)
  34. end
  35.  
  36.  
  37. local fakevalue = Instance.new("NumberValue")
  38. fakevalue.Value = 100
  39.  
  40. meta.__namecall=newcclosure(function(self,...)
  41.     local method = ""
  42.     if PROTOSMASHER_LOADED then
  43.         method = get_namecall_method()
  44.     else
  45.         method = getnamecallmethod()
  46.     end
  47.     if not checkcaller() or not is_protosmasher_caller() then
  48.         if method == "FireServer" and tostring(self) == "WeaponHit" then
  49.             local Args = {...}
  50.             if Target ~= nil then
  51.                 if Target.Parent.Name == "Players" then
  52.                     if Target.Character ~= nil then
  53.                         pcall(function()
  54.                             Args[2].h = Target.Character.Humanoid
  55.                             Args[2].part = Target.Character.Head
  56.                             return namecall(self,unpack(Args))
  57.                         end)
  58.                     end
  59.                 end
  60.             end
  61.         end
  62.     end
  63.     return namecall(self,...)
  64. end)
  65.  
  66. meta.__index=function(self,k)
  67.     if not checkcaller() then
  68.         if tostring(self) == "CurrentAmmo" and tostring(k) == "Value" and InfAmmo then
  69.             return index(fakevalue,"Value")
  70.         end
  71.     end
  72.     return index(self,k)
  73. end
  74.  
  75. function sendnotif(title, body)
  76.     game.StarterGui:SetCore("SendNotification", {
  77.         Title = title;
  78.         Text = body;
  79.         Icon = "rbxassetid://2541869220";
  80.         Duration = 3;
  81.     })
  82. end
  83.  
  84. function findplayer(namey)
  85.     local name = string.lower(namey)
  86.     local player = nil
  87.                    
  88.     local names = game.Players:GetChildren()                      
  89.     for i,v in pairs(names) do
  90.         strlower = string.lower(v.Name)
  91.         sub = string.sub(strlower,1,#name)                                    
  92.         if name == sub and v ~= game.Players.LocalPlayer then
  93.             player = v
  94.         end
  95.     end
  96.     if player then
  97.         return player
  98.     else
  99.         return nil
  100.     end
  101. end
  102.  
  103. local function checkproperty(Object, Property)
  104.     local toreturn = pcall(function()
  105.         if typeof(Object[Property]) == "Instance" then
  106.             error()
  107.         end
  108.     end)
  109.     return toreturn
  110. end
  111.  
  112. local function getargs(inputstring, lower)
  113.     if lower ~= nil then
  114.         if lower then
  115.             inputstring = string.lower(inputstring)
  116.         end
  117.     end
  118.     local Args = {}
  119.     local spaces = {}
  120.     local lastspace = 0
  121.     inputstring = string.gsub(inputstring, "/e ", "")
  122.     inputstring = string.gsub(inputstring, "/w ", "")
  123.     if string.find(string.sub(inputstring,1,1), "%p") then
  124.         inputstring = string.sub(inputstring, 2, -1)
  125.     end
  126.     repeat
  127.         local currentspace = string.find(inputstring, " ", lastspace + 1)
  128.         if currentspace ~= nil then
  129.             table.insert(spaces, currentspace)
  130.             lastspace = currentspace
  131.         else
  132.             lastspace = currentspace
  133.         end
  134.     wait()
  135.     until lastspace == nil
  136.     if #spaces >= 2 then
  137.         Args.Command = string.sub(inputstring, 1, spaces[1] - 1)
  138.     elseif #spaces == 1 then
  139.         Args.Command = string.sub(inputstring, 1, spaces[1] - 1)
  140.         Args[1] = string.sub(inputstring, spaces[1] + 1, -1)
  141.     elseif #spaces == 0 then
  142.         Args.Command = string.sub(inputstring, 1, - 1)
  143.     end
  144.     if #spaces >= 2 then
  145.         for i = 1,#spaces do
  146.             if i ~= 1 and i ~= #spaces then
  147.                 Args[i - 1] = string.sub(inputstring, spaces[i - 1] + 1, spaces[i] - 1)
  148.             elseif i == #spaces then
  149.                 Args[i - 1] = string.sub(inputstring, spaces[i - 1] + 1, spaces[i] - 1)
  150.                 Args[i] = string.sub(inputstring, spaces[i] + 1, -1)
  151.             end
  152.         end
  153.     end
  154.     return Args
  155. end
  156.  
  157. local function kill(char, nonotif)
  158.     if char == nil then
  159.         return
  160.     end
  161.     if not char:FindFirstChild("Humanoid") or not char:FindFirstChild("Head") then
  162.         return
  163.     end
  164.     if char.Humanoid.Sit == true then
  165.         return
  166.     end
  167.     local FirstArg = nil
  168.     local SecondArg = {}
  169.     if mouse.Target ~= nil then
  170.         SecondArg.m = mouse.Target.Material
  171.     else
  172.         SecondArg.m = Enum.Material.Plastic
  173.     end
  174.  
  175.     SecondArg.h = char.Humanoid
  176.     SecondArg.part = char.Head
  177.  
  178.     SecondArg.n = game.Players.LocalPlayer.Character.Head.Position
  179.     SecondArg.p = mouse.Hit.p
  180.  
  181.     SecondArg.crt = true
  182.  
  183.     SecondArg.d = (SecondArg.n - SecondArg.p).magnitude
  184.     SecondArg.maxDist = SecondArg.d + 2
  185.     SecondArg.pid = 1
  186.     SecondArg.sid = 10
  187.     SecondArg.t = 0.361275678125678
  188.  
  189.     repeat
  190.         if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") then
  191.             FirstArg = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool")
  192.         elseif game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  193.             FirstArg = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  194.         else
  195.             return
  196.         end
  197.         game.ReplicatedStorage.WeaponsSystem.Network.WeaponHit:FireServer(FirstArg, SecondArg)
  198.         if char.Humanoid.Sit == true then
  199.             return
  200.         end
  201.         wait()
  202.     until char.Humanoid.Health <= 0
  203.     if nonotif == nil then
  204.         sendnotif("Done!", "Successfully killed "..char.Name)
  205.     end
  206. end
  207.  
  208. function GetNearestPlayerToMouse()
  209.     local players = {}
  210.     local PLAYER_HOLD  = {}
  211.     local DISTANCES = {}
  212.     for i, v in pairs(game.Players:GetPlayers()) do
  213.         if v ~= LocalP then
  214.             table.insert(players, v)
  215.         end
  216.     end
  217.     for i, v in pairs(players) do
  218.         if v.Character ~= nil then
  219.             local AIM = v.Character:FindFirstChild("Head")
  220.             if AIM ~= nil then
  221.                 local DISTANCE = (v.Character:FindFirstChild("Head").Position - game.Workspace.CurrentCamera.CFrame.p).magnitude
  222.                 local RAY = Ray.new(game.Workspace.CurrentCamera.CFrame.p, (mouse.Hit.p - game.Workspace.CurrentCamera.CFrame.p).unit * DISTANCE)
  223.                 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
  224.                 local DIFF = math.floor((POS - AIM.Position).magnitude)
  225.                 PLAYER_HOLD[v.Name .. i] = {}
  226.                 PLAYER_HOLD[v.Name .. i].dist= DISTANCE
  227.                 PLAYER_HOLD[v.Name .. i].plr = v
  228.                 PLAYER_HOLD[v.Name .. i].diff = DIFF
  229.                 table.insert(DISTANCES, DIFF)
  230.             end
  231.         end
  232.     end
  233.    
  234.     if unpack(DISTANCES) == nil then
  235.         return nil
  236.     end
  237.    
  238.     local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
  239.     if L_DISTANCE > 20 then
  240.         return nil
  241.     end
  242.    
  243.     for i, v in pairs(PLAYER_HOLD) do
  244.         if v.diff == L_DISTANCE then
  245.             return v.plr
  246.         end
  247.     end
  248.     return nil
  249. end
  250.  
  251. local function IsInTable(table, tofind)
  252.     local found = false
  253.     for i,v in pairs(table) do
  254.         if v == tofind or i == tofind then
  255.             found = true
  256.             break
  257.         end
  258.     end
  259.     return found
  260. end
  261.  
  262. game.Players.PlayerRemoving:Connect(function(plr)
  263.     if Target ~= nil then
  264.         if plr == Target then
  265.             Target = nil
  266.         end
  267.     end
  268. end)
  269.  
  270. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  271.     if not string.find(msg, ":") and not string.find(msg, "/e ") then
  272.         return
  273.     end
  274.     local Args = getargs(msg, true) -- Has all the arguments on the player's message
  275.  
  276.     if IsInTable({"settarget","settar","changetar","changetarget","targetset","tarset","shoot","st", "target", "tar"}, Args.Command) then
  277.         local targ = findplayer(Args[1])
  278.         if targ ~= nil then
  279.             Target = targ
  280.         else
  281.             Target = nil
  282.         end
  283.     end
  284.  
  285.     if IsInTable({"cleartar","cleartarget","notar","notarget","untarget","unshoot", "ct", "untarget", "untar"}, Args.Command) then
  286.         Target = nil
  287.     end
  288.  
  289.     if IsInTable({"killbounty","kb","bountykill", "killtarget", "targetkill"}, Args.Command) then
  290.         for i,v in pairs(game.Workspace.Enemies[game.Players.LocalPlayer.Name]:GetChildren()) do
  291.             if v:IsA("Model") then
  292.                 kill(v)
  293.             end
  294.         end
  295.     end
  296.  
  297.     if IsInTable({"autokillbounty","akb","autobountykill", "autokill", "autokilltarget", "autotargetkill"}, Args.Command) then
  298.         AutoKillBounty = true
  299.         sendnotif("AutoKill ON", "AUTO-KILL-BOUNTY is now ON")
  300.     end
  301.  
  302.     if IsInTable({"unautokillbounty","uakb","unautobountykill", "unautokill", "unautokilltarget", "unautotargetkill"}, Args.Command) then
  303.         AutoKillBounty = false
  304.         sendnotif("AutoKill OFF", "AUTO-KILL-BOUNTY is now OFF")
  305.     end
  306.  
  307.     if IsInTable({"kill","murder","assassinate", "demolish"}, Args.Command) then
  308.         if Args[1] == "others" or Args[1] == "all" then
  309.             for i,v in pairs(game.Players:GetPlayers()) do
  310.                 if v ~= game.Players.LocalPlayer and v.Character ~= nil then
  311.                     kill(v.Character)
  312.                 end
  313.             end
  314.         else
  315.             local targ = findplayer(Args[1])
  316.             if targ ~= nil then
  317.                 if targ.Character ~= nil then
  318.                     kill(targ.Character)
  319.                 end
  320.             end
  321.         end
  322.     end
  323.  
  324.     if IsInTable({"getcarbonite","getcarb","grabcarb", "grabcarbonite","bringcarb","bringcarbonite"}, Args.Command) then
  325.         local todo = nil
  326.         for i,v in pairs(game.Workspace.CarboniteBounties:GetChildren()) do
  327.             if v.Stats.Follow.Value == false then
  328.                 todo = v
  329.             end
  330.         end
  331.         if todo ~= nil and game.Players.LocalPlayer.Character ~= nil then
  332.             for i,v in pairs(todo:GetDescendants()) do
  333.                 if game.Players.LocalPlayer.Character:FindFirstChild("Head") and ExpandSimDebounce == false and checkproperty(v, "Anchored") then
  334.                     if v.Anchored == false and checkproperty(v, "CFrame") then
  335.                         ExpandSimRadius = true
  336.                         wait()
  337.                         v.CanCollide = false
  338.                         v.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  339.                     end
  340.                 end
  341.             end
  342.         end
  343.     end
  344.  
  345.     if IsInTable({"getallcarbonite","getallcarb","graballcarb", "graballcarbonite","bringallcarb","bringallcarbonite"}, Args.Command) then
  346.         for x,y in pairs(game.Workspace.CarboniteBounties:GetChildren()) do
  347.             if y.Stats.Follow.Value == false then
  348.                 for i,v in pairs(y:GetDescendants()) do
  349.                     if game.Players.LocalPlayer.Character:FindFirstChild("Head") and ExpandSimDebounce == false and checkproperty(v, "Anchored") then
  350.                         if v.Anchored == false and checkproperty(v, "CFrame") then
  351.                             ExpandSimDebounce = true
  352.                             ExpandSimRadius = true
  353.                             wait()
  354.                             v.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  355.                             wait(0.3)
  356.                             ExpandSimRadius = false
  357.                             wait()
  358.                             game.Players.LocalPlayer.MaximumSimulationRadius = DefaultMaxSimRad
  359.                             game.Players.LocalPlayer.SimulationRadius = DefaultSimRad
  360.                             ExpandSimDebounce = false
  361.                         end
  362.                     end
  363.                 end
  364.             end
  365.         end
  366.     end
  367.  
  368.     if IsInTable({"loopkill","lk","loopshoot", "loopmurder", "loop"}, Args.Command) then
  369.         if Args[1] == "others" or Args[1] == "all" then
  370.             for i,v in pairs(game.Players:GetPlayers()) do
  371.                 if not IsInTable(LoopKill, v.Name) and v ~= game.Players.LocalPlayer then
  372.                     table.insert(LoopKill, v.Name)
  373.                 end
  374.             end
  375.             sendnotif("LOOPED ALL", "Now loop killing everyone")
  376.         else
  377.             local targ = findplayer(Args[1])
  378.             if targ == nil then
  379.                 return
  380.             end
  381.             if not IsInTable(LoopKill, targ.Name) then
  382.                 sendnotif("LOOPED", "Now looping "..targ.Name)
  383.                 table.insert(LoopKill, targ.Name)
  384.             end
  385.         end
  386.     end
  387.  
  388.     if IsInTable({"unloopkill","ulk","unloopshoot", "unloopmurder", "unloop"}, Args.Command) then
  389.         if Args[1] == "others" or Args[1] == "all" then
  390.             for i = 1,#LoopKill do
  391.                 table.remove(LoopKill, 1)
  392.             end
  393.             sendnotif("UNLOOPED ALL", "Cleared loopkill list")
  394.         else
  395.             for i,v in pairs(LoopKill) do
  396.                 if string.sub(string.lower(v), 1, #Args[1]) == Args[1] then
  397.                     sendnotif("UNLOOPED", "No longer looping "..v)
  398.                     table.remove(LoopKill, i)
  399.                 end
  400.             end
  401.         end
  402.     end
  403.  
  404.     if IsInTable({"loopkills","loopkilling","looping"}, Args.Command) then
  405.         for i,v in pairs(LoopKill) do
  406.             print(i.." : "..v)
  407.         end
  408.     end
  409.  
  410.     if IsInTable({"killdroids","droidkill","killalldroids","collectdroids","getdroids"}, Args.Command) then
  411.         local Droids = game.Workspace.Creatures.Turret_Droid:GetChildren()
  412.         for i,v in pairs(game.Workspace.Enemies:GetDescendants()) do
  413.             if v:IsA("Model") and string.find(v.Name, "Turret") or v:IsA("Model") and string.find(v.Name, "Scrap") then
  414.                 table.insert(Droids, v)
  415.             end
  416.         end
  417.         if #Droids == 0 then
  418.             sendnotif("NO DROIDS", "There's no droids to kill!")
  419.         end
  420.         for i,v in pairs(Droids) do
  421.             kill(v)
  422.             wait(0.5)
  423.             for x,y in pairs(v:GetDescendants()) do
  424.                 if y:IsA("ClickDetector") then
  425.                     fireclickdetector(y)
  426.                 end
  427.             end
  428.         end
  429.     end
  430.  
  431.     if IsInTable({"autokilldroids","akd","autodroidkill", "droidautokill", "autokillturrets", "autoturretkill","autodroid"}, Args.Command) then
  432.         AutoKillDroids = true
  433.         sendnotif("AutoKillDroids ON", "AUTO-KILL-DROIDS is now ON")
  434.     end
  435.  
  436.     if IsInTable({"unautokilldroids","uakd","unautodroidkill", "undroidautokill", "unautokillturrets", "unautoturretkill","unautodroid"}, Args.Command) then
  437.         AutoKillDroids = false
  438.         sendnotif("AutoKillDroids OFF", "AUTO-KILL-DROIDS is now OFF")
  439.     end
  440.  
  441.     if IsInTable({"autokillallbounty","autokillallbounties","autobountykillall", "autokillall", "autokillalltarget", "autotargetkillall","stealbounty","stealbounties"}, Args.Command) then
  442.         AutoKillEveryoneBounty = true
  443.         sendnotif("AutoKillAll ON", "AUTO-KILL-ALL-BOUNTIES is now ON")
  444.     end
  445.  
  446.     if IsInTable({"unautokillallbounty","unautobountykillall", "unautokillall", "unautokillalltarget", "unautotargetkillall","unstealbounty","unstealbounties"}, Args.Command) then
  447.         AutoKillEveryoneBounty = false
  448.         sendnotif("AutoKillAll OFF", "AUTO-KILL-ALL-BOUNTIES is now OFF")
  449.     end
  450.  
  451.     if IsInTable({"infammo","bottomlessclips","infiniteammo", "unlimitedammo", "ammo"}, Args.Command) then
  452.         InfAmmo = true
  453.         sendnotif("InfAmmo ON", "INFINITE AMMO is now ON")
  454.     end
  455.  
  456.     if IsInTable({"uninfammo","unbottomlessclips","uninfiniteammo", "ununlimitedammo", "unammo"}, Args.Command) then
  457.         InfAmmo = false
  458.         sendnotif("InfAmmo OFF", "INFINITE AMMO is now OFF")
  459.     end
  460.  
  461.     if IsInTable({"semi","semiauto","semiautomatic"}, Args.Command) then
  462.         if game.Players.LocalPlayer.Character == nil then
  463.             return
  464.         end
  465.         local thing = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  466.         if thing == nil then
  467.             return
  468.         end
  469.         if thing:FindFirstChild("Configuration") then
  470.             if thing.Configuration:FindFirstChild("FireMode") then
  471.                 thing.Configuration:FindFirstChild("FireMode"):Destroy()
  472.             end
  473.         end
  474.     end
  475.  
  476.     if IsInTable({"auto","automatic","fullyauto", "fullyautomatic"}, Args.Command) then
  477.         if game.Players.LocalPlayer.Character == nil then
  478.             return
  479.         end
  480.         local thing = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  481.         if thing == nil then
  482.             return
  483.         end
  484.         if thing:FindFirstChild("Configuration") then
  485.             if not thing.Configuration:FindFirstChild("FireMode") then
  486.                 local FireMode = Instance.new("StringValue", thing.Configuration)
  487.                 FireMode.Name = "FireMode"
  488.                 FireMode.Value = "Automatic"
  489.             end
  490.         end
  491.     end
  492.  
  493.     if IsInTable({"cooldown", "firerate", "rate", "shotcooldown", "cooldownshot", "shotrate"}, Args.Command) then
  494.         if game.Players.LocalPlayer.Character == nil then
  495.             return
  496.         end
  497.         local thing = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  498.         if thing == nil then
  499.             return
  500.         end
  501.         if thing:FindFirstChild("Configuration") then
  502.             if thing.Configuration:FindFirstChild("ShotCooldown") then
  503.                 thing.Configuration.ShotCooldown.Value = Args[1]
  504.             end
  505.         end
  506.     end
  507.  
  508.     if IsInTable({"norecoil", "noknockback", "0recoil"}, Args.Command) then
  509.         if game.Players.LocalPlayer.Character == nil then
  510.             return
  511.         end
  512.         local thing = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  513.         if thing == nil then
  514.             return
  515.         end
  516.         if thing:FindFirstChild("Configuration") then
  517.             for i,v in pairs(thing.Configuration:GetChildren()) do
  518.                 if string.find(v.Name, "Recoil") then
  519.                     v.Value = 0
  520.                 end
  521.             end
  522.         end
  523.     end
  524.  
  525. end)
  526.  
  527. mouse.KeyDown:Connect(function(key)
  528.     if key == "f" then
  529.         local targ = GetNearestPlayerToMouse()
  530.         if targ ~= nil then
  531.             Target = targ
  532.         else
  533.             Target = nil
  534.         end
  535.     end
  536.     if key == "g" then
  537.         local targ = GetNearestPlayerToMouse()
  538.         if targ ~= nil then
  539.             if targ.Character ~= nil then
  540.                 kill(targ.Character)
  541.             end
  542.         end
  543.     end
  544. end)
  545.  
  546. game:GetService('RunService').Stepped:connect(function()
  547.     if LoopKillDebounce == false then
  548.         LoopKillDebounce = true
  549.         for i,v in pairs(LoopKill) do
  550.             if game.Players:FindFirstChild(v) and game.Players.LocalPlayer.Character ~= nil then
  551.                 if game.Players[v].Character ~= nil then
  552.                     if game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  553.                         if game.Players[v].Character:FindFirstChild("Humanoid") then
  554.                             kill(game.Players[v].Character, true)
  555.                         end
  556.                     end
  557.                 end
  558.             end
  559.         end
  560.         LoopKillDebounce = false
  561.     end
  562. end)
  563.  
  564. repeat wait() until game.Workspace:FindFirstChild("Creatures")
  565. repeat wait() until game.Workspace.Creatures:FindFirstChild("Turret_Droid")
  566.  
  567. game.Workspace.Creatures.DescendantAdded:Connect(function(desc)
  568.     if AutoKillDroids and desc:FindFirstAncestor("Turret_Droid") then
  569.         if desc:IsA("Humanoid") then
  570.             if desc.Parent:IsA("Model") then
  571.                 repeat wait() until desc.Parent:FindFirstChild("Head")
  572.                 kill(desc.Parent, true)
  573.                 wait(0.3)
  574.                 for x,y in pairs(desc.Parent:GetDescendants()) do
  575.                     if y:IsA("ClickDetector") then
  576.                         fireclickdetector(y)
  577.                     end
  578.                 end
  579.             end
  580.         end
  581.     end
  582. end)
  583.  
  584. print("----------------FEATURES-------------------")
  585. print("Chat commands can also be done as /e :COMMANDNAME or /e COMMANDNAME")
  586. print("-------------------------------------------")
  587. print("---------KEYS---------")
  588. print("")
  589. print("F Key - Sets your target to the player closest to your mouse")
  590. print("G Key - Kill the player closest to your mouse")
  591. print("")
  592. print("---------CHAT COMMANDS---------")
  593. print("Shortened names work")
  594. print("-------------------------------")
  595. print("")
  596. print(":settarget PLAYERNAME - Makes it so your shots always hit the player")
  597. print(":cleartarget - Clears your target")
  598. print("")
  599. print(":killbounty - Kills your current bounty")
  600. print(":autokillbounty - Automatically kills your bounty once you get it")
  601. print("")
  602. print(":stealbounty - Kills all bounties once they spawn")
  603. print(":unstealbounty - disables the bounty stealer command")
  604. print("")
  605. print(":killdroids - Kills all droids, then collects their scrap")
  606. print(":autokilldroids - Automatically kills droids when they spawn")
  607. print(":unautokilldroids - Turns off the droid auto-kill")
  608. print("")
  609. print(":bringcarb - Brings a random carbonite to you (MAY LAG YOUR GAME HEAVILY)")
  610. print(":bringallcarb - Brings ALL the carbonite to you (MAY LAG YOUR GAME HEAVILY)")
  611. print("")
  612. print(":kill PLAYERNAME - Kills the player")
  613. print("")
  614. print(":loopkill PLAYERNAME - Loopkills the player")
  615. print(":loopkill others - Loopkills other players")
  616. print(":unloopkill PLAYERNAME - Un-loopkills the player")
  617. print(":unloopkill all - Clears loopkill list")
  618. print(":loopkills - Prints a list of players currently being loopkilled")
  619. print("")
  620. print(":infammo - Gives you infinite ammo (bottomles clips)")
  621. print(":uninfammo - Takes away your infinite ammo")
  622. print("")
  623. print(":automatic - Sets your equipped weapon's's fire mode to automatic (hold click to keep shooting)")
  624. print(":semiauto - Sets your equipped weapon's's fire mode to semi-automatic")
  625. print(":rate - Sets your equipped weapon's fire rate (lower = better) (time between shots in seconds)")
  626. print("")
  627. print("-------------------------------------------")
  628. print("Vortexturize | aidez moi#4192 | Aidez")
  629. print("-------------------------------------------")
  630.  
  631. game.StarterGui:SetCore("SendNotification", {
  632.     Title = "Done injecting!";
  633.     Text = "Star Wars Bounty Hunters by Aidez";
  634.     Icon = "rbxassetid://847562022";
  635.     Duration = 5;
  636. })
  637. wait()
  638. sendnotif("F9 for COMMANDS", "Check the DEV CONSOLE for a list of COMMANDS (F9 or SHIFT + F9)")
  639.  
  640. spawn(function()
  641.    while true do
  642.        if ExpandSimRadius then
  643.            game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  644.            game.Players.LocalPlayer.SimulationRadius = math.pow(math.huge,math.huge)*math.huge
  645.        else
  646.            game.Players.LocalPlayer.MaximumSimulationRadius = 3
  647.            game.Players.LocalPlayer.SimulationRadius = 3
  648.        end
  649.        game:GetService("RunService").Stepped:wait()
  650.    end
  651. end)
  652.  
  653. repeat wait() until game:IsLoaded()
  654. repeat wait() until game.Players.LocalPlayer.Character ~= nil
  655. repeat wait() until game.Players.LocalPlayer:FindFirstChild("Backpack")
  656.  
  657. wait(1)
  658.  
  659. if not game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") and not game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") then
  660.     sendnotif("NO GUN", "You have no gun, rejoining to give you a gun")
  661.     wait(0.5)
  662.     game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer)
  663. end
  664.  
  665. repeat wait() until game.Workspace:FindFirstChild("Enemies")
  666. repeat wait() until game.Workspace.Enemies:FindFirstChild(game.Players.LocalPlayer.Name)
  667.  
  668. game.Workspace.Enemies.DescendantAdded:Connect(function(desc)
  669.     if AutoKillBounty and desc:FindFirstAncestor(game.Players.LocalPlayer.Name) then
  670.         if desc:IsA("Humanoid") then
  671.             if desc.Parent:IsA("Model") then
  672.                 repeat wait() until desc.Parent:FindFirstChild("Head")
  673.                 kill(desc.Parent)
  674.             end
  675.         end
  676.     end
  677.     if AutoKillEveryoneBounty then
  678.         if desc:IsA("Humanoid") then
  679.             if desc.Parent:IsA("Model") then
  680.                 repeat wait() until desc.Parent:FindFirstChild("Head")
  681.                 kill(desc.Parent)
  682.             end
  683.         end
  684.     end
  685.     if AutoKillDroids then
  686.         if desc:IsA("Humanoid") then
  687.             if desc.Parent:IsA("Model") and string.find(desc.Parent.Name, "Scrap") then
  688.                 repeat wait() until desc.Parent:FindFirstChild("Head")
  689.                 kill(desc.Parent, true)
  690.                 wait(0.5)
  691.                 for x,y in pairs(desc.Parent:GetDescendants()) do
  692.                     if y:IsA("ClickDetector") then
  693.                         fireclickdetector(y)
  694.                     end
  695.                 end
  696.             end
  697.         end
  698.     end
  699. end)
  700.  
  701. --[[
  702.  
  703.  
  704.  
  705.  
  706.  
  707.                                                         ..                                          
  708.                                      /yys.            `hMM/                                        
  709.                     :ys:            `NMMMo            oMMM:                                        
  710.                   `sMMMm             -oo:            `NMMy                                          
  711.                  .hMMMMM+                            +MMN`        `.-::.              `            
  712.                 -mMMyoMMN.         /hho       .:syhhomMMs       -smNMMMNy  `shysssssyhdho          
  713.                :mMMs``dMMd`        NMMm     .smMNdhdMMMM.     `sNMNs:/MMM. `ydmmmmddMMMN+          
  714.               +NMMs   -MMMs       :MMM/    +NMNs-  .MMMy     .dMMd- -yMMy    `````/hMMy-            
  715.             `yMMMmosyhdMMMM+      yMMm    yMMN:   `yMMM/     dMMN+odNMd/        :hMNy:              
  716.            -dMMMMMMmmdhyhMMM+     NMMo   /MMM-   :dMMMM-    :MMMMNmho-``:/    :hNMh-                
  717.           +NMMm//-..``  `hMMMo`  -MMM/   yMMm``:hNMyMMM+.-- :MMMy.` `-omMd` /dMMmo/+oooo/`          
  718.          oMMMh.          `yMMMm/ :MMMs   +MMMmmMNh: hMMNNNy  yMMMmhdmNMm+`:dMMMMNNNNmNMMMo          
  719.          :yh+`            `/dNNs `ydh:    :shys/.   `+yso-`   :shddhy+-` oNMNho:-..```.-/`  
  720.  
  721. Join my discord here!:
  722. https://discord.gg/Ez2dGeQ
  723.  
  724. --]]
Add Comment
Please, Sign In to add comment