Advertisement
Richbadniss

DexHub

May 21st, 2021 (edited)
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.79 KB | None | 0 0
  1.      
  2. local await = wait
  3. if game.PlaceId == 155615604 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|DexHub", "BloodTheme")
  6.  
  7.     -- MAIN
  8.     local Main = Window:NewTab("Main")
  9.     local MainSection = Main:NewSection("Main")
  10.  
  11.  
  12.  
  13.     MainSection:NewDropdown("Give Gun", "Gives the localplayer a gun", {"M9", "Remington 870", "AK-47"}, function(v)
  14.         local A_1 = game:GetService("Workspace")["Prison_ITEMS"].giver[v].ITEMPICKUP
  15.         local Event = game:GetService("Workspace").Remote.ItemHandler
  16.         Event:InvokeServer(A_1)
  17.        
  18.     end)
  19.  
  20.     MainSection:NewDropdown("Gun Mod", "Makes the gun op", {"M9", "Remington 870", "AK-47"}, function(v)
  21.         local module = nil
  22.         if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(v) then
  23.             module = require(game:GetService("Players").LocalPlayer.Backpack[v].GunStates)
  24.         elseif game:GetService("Players").LocalPlayer.Character:FindFirstChild(v) then
  25.             module = require(game:GetService("Players").LocalPlayer.Character[v].GunStates)
  26.         end
  27.  
  28.         --> I need to fix this <--
  29.        
  30.         if module then
  31.             module["MaxAmmo"] = math.huge
  32.             module["CurrentAmmo"] = math.huge
  33.             module["StoredAmmo"] = math.huge
  34.             module["FireRate"] = 0.000001
  35.             module["Spread"] = 0
  36.             module["Range"] = math.huge
  37.             module["Bullets"] = 10
  38.             module["ReloadTime"] = 0.000001
  39.             module["AutoFire"] = true
  40.         end
  41.     end)
  42.  
  43.  
  44.     -- PLAYER
  45.     local Player = Window:NewTab("Local Player")
  46.     local PlayerSection = Player:NewSection("Player")
  47.     local PlayerSection2 = Player:NewSection("Teams")
  48.     local PlayerSection3 = Player:NewSection("Player Misc")
  49.  
  50.  
  51.  
  52. PlayerSection3:NewButton("Taser Bypass", "Bypasses Gard's Taser", function()
  53.         --> taser thing <--
  54. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  55. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  56. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  57. game.Players.LocalPlayer.Character:WaitForChild("ClientInputHandler").Disabled = true
  58.     end)        
  59. end)
  60.  
  61.  
  62. PlayerSection3:NewButton("Remove Doors", "Removes All Doors", function()
  63.     game.Workspace:WaitForChild("Doors"):Destroy()
  64. end)
  65.  
  66.         --team change section
  67.         PlayerSection2:NewButton("Gards Team", "Puts you on the Gards team", function()
  68.             game.Workspace.Remote.TeamEvent:FireServer("Bright blue")
  69.     end)
  70.  
  71.  
  72.  
  73.     PlayerSection2:NewButton("Prisoner Team", "Puts you on the Gards team", function()
  74.         game.Workspace.Remote.TeamEvent:FireServer("Bright orange")
  75.     end)
  76.  
  77.         PlayerSection2:NewButton("Netrual Team", "Puts you on the Gards team", function()
  78.                 game.Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  79.         end)
  80.  
  81.     PlayerSection2:NewButton("Criminal Team", "Puts you on the criminal team", function()
  82.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-919.958, 95.327, 2138.189)
  83.     end)
  84.  
  85.     -->Walk Speed etc <--
  86.    
  87.     PlayerSection:NewSlider("Walkspeed", "Changes the walkspeed", 250, 16, function(v)
  88.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  89.     end)
  90.  
  91.     PlayerSection:NewSlider("Jumppower", "Changes the jumppower", 250, 50, function(v)
  92.         game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  93.     end)
  94.  
  95.  
  96.     local Other = Window:NewTab("Info")
  97.     local OtherSection = Other:NewSection("Info")
  98.  
  99.     OtherSection:NewKeybind("Toggle UI", "Used to open and close the UI", Enum.KeyCode.P, function()
  100.         await(1)
  101.         Library:ToggleUI()
  102.     end)
  103.  
  104. --Ninja Legends
  105. elseif game.PlaceId == 3956818381 then
  106.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  107.     local Window = Library.CreateLib("Ninja Legends|DexHub", "Sentinel")
  108.  
  109.     -- MAIN
  110.     local Main = Window:NewTab("Main")
  111.     local MainSection = Main:NewSection("Main")
  112.  
  113.     MainSection:NewToggle("Auto Swing", "Make your player autoswing", function(v)
  114.         getgenv().autoswing = v
  115.         while true do
  116.             if not getgenv().autoswing then return end
  117.             for _,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  118.                 if v:FindFirstChild("ninjitsuGain") then
  119.                     game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  120.                     break
  121.                 end
  122.             end
  123.             local A_1 = "swingKatana"
  124.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  125.             Event:FireServer(A_1)
  126.             wait(0.1)
  127.         end
  128.     end)
  129.  
  130.     MainSection:NewToggle("Auto Sell", "Makes your player autosell", function(v)
  131.         getgenv().autosell = v
  132.         while true do
  133.             if getgenv().autoswing == false then return end
  134.             game:GetService("Workspace").sellAreaCircles["sellAreaCircle16"].circleInner.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  135.             wait(0.1)
  136.             game:GetService("Workspace").sellAreaCircles["sellAreaCircle16"].circleInner.CFrame = CFrame.new(0,0,0)
  137.             wait(0.1)
  138.         end
  139.     end)
  140.  
  141.     MainSection:NewButton("Unlock all islands", "Unlocks all islands", function()
  142.         local oldcframe = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  143.         for _,v in pairs(game:GetService("Workspace").islandUnlockParts:GetChildren()) do
  144.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  145.             wait(0.1)
  146.         end
  147.         wait(0.1)
  148.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = oldcframe
  149.     end)
  150.    
  151.     MainSection:NewToggle("Auto buy all swords", "Auto buys all swords", function(v)
  152.         getgenv().buyswords = v
  153.         while true do
  154.             if not getgenv().buyswords then return end
  155.             local A_1 = "buyAllSwords"
  156.             local A_2 = "Inner Peace Island"
  157.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  158.             Event:FireServer(A_1, A_2)
  159.             wait(0.5)
  160.         end
  161.     end)
  162.  
  163.     MainSection:NewToggle("Auto buy all belts", "Auto buys all belts", function(v)
  164.         getgenv().buybelts = v
  165.         while true do
  166.             if not getgenv().buybelts then return end
  167.             local A_1 = "buyAllBelts"
  168.             local A_2 = "Inner Peace Island"
  169.             local Event = game:GetService("Players").LocalPlayer.ninjaEvent
  170.             Event:FireServer(A_1, A_2)
  171.             wait(0.5)
  172.         end
  173.     end)
  174.     elseif  game.PlaceId == 4483381587 then
  175.         local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  176.         local Window = Library.CreateLib("Baseplate|DexHub", "Sentinel")
  177.      
  178.         -- MAIN
  179.         local Main = Window:NewTab("Main")
  180.         local MainSection = Main:NewSection("Main")
  181.  
  182.                 -- PLAYER
  183.                 local Player = Window:NewTab("Player")
  184.                 local PlayerSection = Player:NewSection("Player")
  185.              
  186.                 PlayerSection:NewSlider("Walkspeed", "Changes the walkspeed", 250, 16, function(v)
  187.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  188.                 end)
  189.              
  190.                 PlayerSection:NewSlider("Jumppower", "Changes the jumppower", 250, 50, function(v)
  191.                     game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  192.                 end)
  193.        
  194.         MainSection:NewToggle("Inf.Jump", "Makes you jump infinetly", function(v)
  195.            
  196.             local Player = game:GetService'Players'.LocalPlayer;
  197.             local UIS = game:GetService'UserInputService';
  198.  
  199.         _G.JumpHeight = 50;
  200.        
  201.  
  202. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  203.  
  204. UIS.InputBegan:Connect(function(UserInput)
  205.     if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  206.         Action(Player.Character.Humanoid, function(self)
  207.             if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  208.                 Action(self.Parent.HumanoidRootPart, function(self)
  209.                     self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  210.                 end)
  211.             end
  212.         end)
  213.     else
  214.         _G.JumpHeight = 0;
  215.     end
  216.  end)  
  217. end)
  218. --Arsenal
  219. elseif  game.PlaceId == 286090429 then
  220.     local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  221.     local Window = Library.CreateLib("Arsenal|DexHub", "Sentinel")
  222.  
  223.     -- MAIN
  224.     local Main = Window:NewTab("Main")
  225.     local MainSection = Main:NewSection("Main")
  226.     --Some Variables
  227.  
  228.     local plr = game.Players.LocalPlayer
  229.     local camera = game.Workspace.CurrentCamera
  230.     local UIS = game:GetService("UserInputService")
  231.     local mouse = plr:GetMouse()
  232.     local LOCKON = "Head"
  233.     _G.aim = false
  234.    
  235.     UIS.InputBegan:Connect(function(input)
  236.         if input.KeyCode == Enum.KeyCode.E then
  237.             _G.aim = true
  238.         end
  239.     end)
  240.    
  241.     UIS.InputEnded:Connect(function(input)
  242.         if input.KeyCode == Enum.KeyCode.E then
  243.             _G.aim = false
  244.         end
  245.     end)
  246.    
  247.   -- FOV
  248. local FOV = Drawing.new("Circle") -- Change these ESP Settings to anything at https://x.synapse.to/docs/reference/drawing_lib.html
  249. FOV.Visible = false
  250. FOV.Color = Color3.fromRGB(255, 0, 0)
  251. FOV.Thickness = 2
  252. FOV.NumSides = 100
  253. FOV.Radius = 125
  254. FOV.Filled = false
  255.  
  256.  -- Other section
  257.     MainSection:NewToggle("Aimlock", "Nil", function(state)
  258.         if state then
  259.             FOV.Visible = false
  260.             --code
  261.             game:GetService("RunService").RenderStepped:Connect(function()
  262.                 local closest = nil
  263.                 local min = math.huge
  264.                 FOV.Position = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y/2)
  265.                 if _G.aim == true then
  266.                     for i, v in pairs(game.Players:GetChildren()) do
  267.                         if v.TeamColor ~= plr.TeamColor then
  268.                             if game.Players:FindFirstChild(v.Name) and v.Character ~= nil and v.Character:FindFirstChild("Humanoid") ~= nil and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and v.Name ~= plr.Name  and v.Character.Humanoid.Health > 0 then
  269.                                 local plrpos, OnScreen = camera:WorldToViewportPoint(v.Character[LOCKON].Position)
  270.                                 if OnScreen then
  271.                                     local distance = math.sqrt(math.pow(mouse.X - plrpos.X, 2), math.pow(mouse.Y - plrpos.Y, 2))
  272.                                     local fovdistance = math.sqrt(math.pow(FOV.Position.X - plrpos.X, 2) + math.pow(FOV.Position.Y - plrpos.Y, 2))
  273.                                     if fovdistance <= FOV.Radius then
  274.                                         if distance < min then
  275.                                             min = distance
  276.                                             closest = v
  277.                                         end
  278.                                     end
  279.                                 end
  280.                             end
  281.                         end
  282.                     end
  283.                     if game.Players:FindFirstChild(closest.Name) and closest.Character ~= nil and closest.Character:FindFirstChild("Humanoid") ~= nil and closest.Character:FindFirstChild("HumanoidRootPart") ~= nil and closest.Name ~= plr.Name  and closest.Character.Humanoid.Health > 0 then
  284.                         camera.CFrame = CFrame.new(camera.CFrame.Position, closest.Character[LOCKON].CFrame.Position)
  285.                     end
  286.                 end
  287.             end)
  288.         else
  289.             FOV.Visible = false
  290.             _G.aim = false
  291.         end
  292.     end)  
  293.         -- PLAYER
  294.         local Player = Window:NewTab("Player")
  295.         local PlayerSection = Player:NewSection("Player")
  296.      
  297.         PlayerSection:NewSlider("Walkspeed", "Changes the walkspeed", 250, 16, function(v)
  298.             game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
  299.         end)
  300.      
  301.         PlayerSection:NewSlider("Jumppower", "Changes the jumppower", 250, 50, function(v)
  302.             game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
  303.         end)
  304.  
  305.         local Credits = Window:NewTab("Credits")
  306.         local CreditsSection = Credits:NewSection("Credits")
  307.  
  308. end
  309.  
  310. ---randome
  311. while true do
  312.     wait(3)  
  313. for i,v in pairs(game.Players:GetChildren()) do
  314.     v.Character:WaitForChild("HeadHB").Size = Vector3.new(4,3,2)
  315.     v.Character:WaitForChild("HeadHB").Transparency = 0
  316.     end
  317. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement