Advertisement
JackPackS

roblox script #1

Jun 10th, 2022 (edited)
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.06 KB | None | 0 0
  1. local prisonlife, ninjalegends, weaponfighting, netflixtycoon, tappinglegends = 155615604, 3956818381, 8554378337, 8800528878, 8750997647
  2.  
  3. if game.PlaceId == prisonlife then
  4.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  5.     local Window = Library.CreateLib("Prison Life", "Synapse")
  6.  
  7.     local main = Window:NewTab("Main")
  8.     local player = Window:NewTab("Player")
  9.  
  10.     local mainSection = main:NewSection("Main")
  11.  
  12.     local palyerSection = player:NewSection("Player")
  13.     palyerSection:NewSlider("WalkSpeed", "", 250, 16, function(v)
  14.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  15.     end)
  16.     palyerSection:NewSlider("JumpPower", "", 250, 50, function(v)
  17.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  18.     end)
  19. end
  20.  
  21. if game.PlaceId == ninjalegends then
  22.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  23.     local Window = Library.CreateLib("Ninja Legends", "Synapse")
  24.  
  25.     local autofarm = Window:NewTab("Auto Farm")
  26.     local autobuy = Window:NewTab("Auto Buy")
  27.     local player = Window:NewTab("Player")
  28.     local misc = Window:NewTab("Misc")
  29.  
  30.     ---Autofarm
  31.     local autofarmSection = autofarm:NewSection("Auto Farm")
  32.     autofarmSection:NewToggle("Auto swing", "", function(v)
  33.         getgenv().autoswing = v
  34.         while true do
  35.             if not getgenv().autoswing then return end
  36.             for _,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  37.                 if v:FindFirstChild("ninjitsuGain") then
  38.                     game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  39.                     break
  40.                 end
  41.             end
  42.             local A_1 = "swingKatana"
  43.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  44.             Event:FireServer(A_1)
  45.             wait(0.1)
  46.         end
  47.     end)
  48.     autofarmSection:NewToggle("Auto Sell", "Makes your player autosell", function(v)
  49.         getgenv().autosell = v
  50.         while true do
  51.             if getgenv().autoswing == false then return end
  52.             game:GetService("Workspace").sellAreaCircles["sellAreaCircle16"].circleInner.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  53.             wait(0.1)
  54.             game:GetService("Workspace").sellAreaCircles["sellAreaCircle16"].circleInner.CFrame = CFrame.new(0,0,0)
  55.             wait(0.1)
  56.         end
  57.     end)
  58.  
  59.     ---Autobuy
  60.     local autobuySection = autobuy:NewSection("Auto Buy")
  61.     autobuySection:NewToggle("Auto buy swords", "", function(v)
  62.         getgenv().autoswing = v
  63.         while true do
  64.             if not getgenv().autoswing then return end
  65.             local A_1 = "buyAllSwords"
  66.             local A_2 = "Blazing Vortex Island"
  67.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  68.             Event:FireServer(A_1, A_2)
  69.             wait(0.1)
  70.         end
  71.     end)
  72.     autobuySection:NewToggle("Auto buy belts", "", function(v)
  73.         getgenv().autoswing = v
  74.         while true do
  75.             if not getgenv().autoswing then return end
  76.             local A_1 = "buyAllBelts"
  77.             local A_2 = "Blazing Vortex Island"
  78.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  79.             Event:FireServer(A_1, A_2)
  80.             wait(0.1)
  81.         end
  82.     end)
  83.     autobuySection:NewToggle("Auto buy skills", "", function(v)
  84.         getgenv().autoswing = v
  85.         while true do
  86.             if not getgenv().autoswing then return end
  87.             local A_1 = "buyAllSkills"
  88.             local A_2 = "Blazing Vortex Island"
  89.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  90.             Event:FireServer(A_1, A_2)
  91.             wait(0.1)
  92.         end
  93.     end)
  94.     autobuySection:NewToggle("Auto buy shurikens", "", function(v)
  95.         getgenv().autoswing = v
  96.         while true do
  97.             if not getgenv().autoswing then return end
  98.             local A_1 = "buyAllShurikens"
  99.             local A_2 = "Blazing Vortex Island"
  100.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  101.             Event:FireServer(A_1, A_2)
  102.             wait(0.1)
  103.         end
  104.     end)
  105.  
  106.     ---Player
  107.     local palyerSection = player:NewSection("Player")
  108.     palyerSection:NewSlider("WalkSpeed", "", 250, 16, function(v)
  109.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  110.     end)
  111.     palyerSection:NewSlider("JumpPower", "", 250, 50, function(v)
  112.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  113.     end)
  114.  
  115.     ---Misc
  116.     local miscSection = misc:NewSection("Misc")
  117.     miscSection:NewButton("Unlock all islands", "", function()
  118.         local oldcframe = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  119.         for _,v in pairs(game:GetService("Workspace").islandUnlockParts:GetChildren()) do
  120.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  121.             wait(0.1)
  122.         end
  123.         wait(0.1)
  124.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = oldcframe
  125.     end)
  126. end
  127.  
  128. if game.PlaceId == weaponfighting then
  129.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  130.     local Window = Library.CreateLib("Weapon Fighting", "Synapse")
  131.     _G.farmNearest = false
  132.     _G.farmHighest = false
  133.     _G.farmLowest = false
  134.     _G.autoCollect = false
  135.     local plr = game.Players.LocalPlayer.Character.HumanoidRootPart
  136.  
  137. function getHighest()
  138.     local high = {}
  139.     for i, v in pairs(game:GetService("Workspace").Fight.Chests:GetChildren()) do
  140.         for a, b in pairs(game:GetService("Workspace").Fight.ClientChests:GetChildren()) do
  141.             if v.Name == b.Name then
  142.                 table.insert(high,v.ChestHp.Value)
  143.                 table.sort(high, function(a,b) return a > b end)
  144.             end
  145.         end
  146.     end
  147.  
  148.     for a, b in pairs(game:GetService("Workspace").Fight.Chests:GetChildren()) do
  149.         if high[1] == b.ChestHp.Value then
  150.             return b.Name
  151.         end
  152.     end    
  153. end
  154.  
  155. function getLowest()
  156.     local low = {}
  157.     for i, v in pairs(game:GetService("Workspace").Fight.Chests:GetChildren()) do
  158.         for a, b in pairs(game:GetService("Workspace").Fight.ClientChests:GetChildren()) do
  159.             if v.Name == b.Name then
  160.                 table.insert(low,v.ChestHp.Value)
  161.                 table.sort(low, function(a,b) return a < b end)
  162.             end
  163.         end
  164.     end
  165.  
  166.     for a, b in pairs(game:GetService("Workspace").Fight.Chests:GetChildren()) do
  167.         if low[1] == b.ChestHp.Value then
  168.             return b.Name
  169.         end
  170.     end    
  171. end
  172.  
  173. function getNear()
  174.     local near;
  175.     local nearr = math.huge
  176.  
  177.     for i, v in pairs(game:GetService("Workspace").Fight.ClientChests:GetChildren()) do
  178.         if (plr.Position - v.Root.Position).Magnitude < nearr then
  179.             near = v
  180.             nearr = (plr.Position - v.Root.Position).Magnitude
  181.         end
  182.     end
  183.  
  184.     return near
  185. end
  186.  
  187.     local autofarm = Window:NewTab("Auto Farm")
  188.     local player = Window:NewTab("Player")
  189.  
  190.     local autofarmSection = autofarm:NewSection("Auto Farm")
  191.     autofarmSection:NewToggle("Nearest", "", function(v)
  192.         _G.farmNearest = v
  193.    
  194.         spawn(function()
  195.             while task.wait() do
  196.                 if not _G.farmNearest then break end
  197.                 pcall(function()
  198.                     local nearest = getNear()
  199.                    
  200.                     plr.CFrame = nearest.Root.CFrame * CFrame.new(0,0,10)
  201.                     wait(.2)
  202.    
  203.                     workspace.Fight.Events.FightAttack:InvokeServer(0,nearest.Name)  
  204.                    
  205.                     repeat task.wait()
  206.                         plr.CFrame = nearest.Root.CFrame * CFrame.new(0,0,10)
  207.                     until nearest.Root == nil or not _G.farmNearest
  208.                 end)
  209.             end
  210.         end)
  211.     end)
  212.     autofarmSection:NewToggle("Highest", "", function(v)
  213.         _G.farmHighest = v
  214.  
  215.         spawn(function()
  216.             while task.wait() do
  217.                 if not _G.farmHighest then break end
  218.                 pcall(function()
  219.                     local highest = getHighest()
  220.    
  221.                     plr.CFrame = game:GetService("Workspace").Fight.ClientChests[highest].Root.CFrame * CFrame.new(0,0,10)
  222.                     wait(.2)
  223.    
  224.                     workspace.Fight.Events.FightAttack:InvokeServer(0,highest)
  225.    
  226.                     repeat task.wait()
  227.                             plr.CFrame = game:GetService("Workspace").Fight.ClientChests[highest].Root.CFrame * CFrame.new(0,0,10)
  228.                     until not game:GetService("Workspace").Fight.ClientChests[highest] or not _G.farmHighest
  229.                 end)
  230.             end
  231.         end)
  232.     end)
  233.     autofarmSection:NewToggle("Lowest", "", function(v)
  234.         _G.farmLowest = v
  235.  
  236.         spawn(function()
  237.             while task.wait() do
  238.                 if not _G.farmLowest then break end
  239.                 pcall(function()
  240.                     local lowest = getLowest()
  241.    
  242.                     plr.CFrame = game:GetService("Workspace").Fight.ClientChests[lowest].Root.CFrame * CFrame.new(0,0,10)
  243.                     wait(.2)
  244.    
  245.                     workspace.Fight.Events.FightAttack:InvokeServer(0,lowest)
  246.    
  247.                     repeat task.wait()
  248.                             plr.CFrame = game:GetService("Workspace").Fight.ClientChests[lowest].Root.CFrame * CFrame.new(0,0,10)
  249.                     until not game:GetService("Workspace").Fight.ClientChests[lowest] or not _G.farmLowest
  250.                 end)
  251.             end
  252.         end)
  253.     end)
  254.     autofarmSection:NewToggle("Collect Rewards", "", function(v)
  255.         _G.autoCollect = v
  256.  
  257.         spawn(function()
  258.             while task.wait() do
  259.                 if not _G.autoCollect then break end
  260.                 for i, v in pairs(game:GetService("Workspace").Rewards:GetChildren()) do
  261.                     if v ~= nil then
  262.                         v.CFrame = plr.CFrame
  263.                     end
  264.                 end
  265.             end
  266.         end)
  267.     end)
  268.  
  269.     local palyerSection = player:NewSection("Player")
  270.     palyerSection:NewSlider("WalkSpeed", "", 250, 16, function(v)
  271.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  272.     end)
  273.     palyerSection:NewSlider("JumpPower", "", 250, 50, function(v)
  274.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  275.     end)
  276. end
  277.  
  278. if game.PlaceId == netflixtycoon then
  279.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  280.     local Window = Library.CreateLib("Netflix Tycoon", "Synapse")
  281.  
  282.     local Main = Window:NewTab("Main")
  283.  
  284.     local mainSection = Main:NewSection("Main")
  285.     mainSection:NewButton("Auto click", "", function()
  286.         function getTycoon()
  287.             for i,v in pairs(game:GetService("Workspace").Tycoons.Tycoons:GetChildren()) do
  288.                 if v.Owner.Value == game:GetService("Players").LocalPlayer then
  289.                     return v
  290.                 end
  291.             end
  292.             return nil
  293.         end
  294.          
  295.         local tycoon = getTycoon()
  296.         if tycoon == nil then
  297.             repeat wait(0.5) tycoon = getTycoon() until tycoon ~= nil
  298.         end
  299.          
  300.         repeat wait() until tycoon:FindFirstChild("PurchasedObjects") ~= nil
  301.         repeat wait() until tycoon.PurchasedObjects:FindFirstChild("Mine") ~= nil
  302.          
  303.         while true do
  304.             fireclickdetector(tycoon.PurchasedObjects.Mine.Clicker.ClickDetector)
  305.             wait()
  306.         end
  307.     end)
  308. end
  309.  
  310. if game.PlaceId == tappinglegends then
  311.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  312.     local Window = Library.CreateLib("Tapping Legends", "Synapse")
  313.  
  314.     local autofarm = Window:NewTab("Auto Farm")
  315.  
  316.     local autofarmSection = autofarm:NewSection("Auto farm")
  317.     autofarmSection:NewToggle("Auto Click", "", function(v)
  318.         getgenv().autoclick = v
  319.         while true do
  320.             if not getgenv().autoclick then return end
  321.             local Event = game:GetService("ReplicatedStorage").Remotes.Tap
  322.             Event:FireServer()
  323.             wait(0.1)
  324.         end
  325.     end)
  326.     autofarmSection:NewToggle("Auto Rebirth", "", function(v)
  327.         getgenv().autorebirth = v
  328.         while true do
  329.             if not getgenv().autorebirth then return end
  330.             local A_1   = 20
  331.             local Event = game:GetService("ReplicatedStorage").Remotes.Rebirth
  332.             Event:FireServer(A_1)
  333.             wait(0.1)
  334.         end
  335.     end)
  336.     autofarmSection:NewToggle("Auto egg", "", function(v)
  337.         getgenv().autoegg = v
  338.         while true do
  339.             if not getgenv().autoegg then return end
  340.             local A_1   = "Mine Egg"
  341.             local A_2   = 3
  342.             local Event = game:GetService("ReplicatedStorage").Remotes.BuyEgg
  343.             Event:InvokeServer(A_1, A_2)
  344.             wait(0.1)
  345.         end
  346.     end)
  347. end
  348.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement