Advertisement
2AreYouMental110

Minerscave (UPDATE AGAIN)

Aug 21st, 2022 (edited)
3,224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.81 KB | None | 0 0
  1. -- https://web.roblox.com/games/7336477134/Minerscave
  2. local list = {}
  3. local list2 = {}
  4. table.clear(list)
  5. table.clear(list2)
  6.  
  7. getgenv().killaura = false
  8. getgenv().killauraselect = false
  9. getgenv().killauranotselect = false
  10. getgenv().unvoid = false
  11. getgenv().placeholder1 = false
  12. getgenv().textloop = false
  13. local autoespores = nil
  14. local autoesplava = nil
  15. local x
  16. local y
  17. local z
  18.  
  19. writefile("ItemStats.lua","")
  20. function add(file,strings)
  21.     appendfile(file,tostring(strings))
  22.     appendfile(file,[[
  23.  
  24. ]])
  25. end
  26.  
  27. local selectedoption
  28. local selectedchar
  29. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  30. local Window = Library.CreateLib("Minerscave 1.5", "Sentinel")
  31.  
  32. local A = Window:NewTab("Main")
  33. local A1 = A:NewSection("Main")
  34. local B = Window:NewTab("TP and other scripts")
  35. local B1 = B:NewSection("TP")
  36. local B2 = B:NewSection("Scripts")
  37.  
  38. local drpdwn = A1:NewDropdown("all blocks", "im not manually doing that", {"placeholder for update thing"}, function(value1)
  39.     selectedoption = value1
  40.     print(selectedoption)
  41. end)
  42.  
  43. A1:NewButton("show selected blocks", "might lag hard", function()
  44.     game:GetService("StarterGui"):SetCore("SendNotification", {
  45.     Title = "some info",
  46.     Text = ("most blocks dont have color")
  47.     })
  48.     local folder = Instance.new("Folder")
  49.     folder.Parent = game.CoreGui
  50.     folder.Name = "selected block esp things"
  51.     for i,v in pairs(game.Workspace:GetDescendants()) do
  52.         if v.Name == (selectedoption) then
  53.             local box = Instance.new("BoxHandleAdornment")
  54.             box.Parent = game:GetService("CoreGui")["selected block esp things"]
  55.             box.Color3 = v.Color
  56.             box.Size = v.Size
  57.             box.ZIndex = 10
  58.             box.Adornee = v
  59.             box.Name = v.Name
  60.             box.AlwaysOnTop = true
  61.             box.Visible = true
  62.             box.Transparency = 0.5
  63.         end
  64.     end
  65. end)
  66.  
  67. A1:NewButton("stop showing selected blocks", "might lag hard", function()
  68.     for i,v in pairs(game.CoreGui:GetChildren()) do
  69.         if v.Name == "selected block esp things" then
  70.             v:Destroy()
  71.         end
  72.     end
  73. end)
  74.  
  75. A1:NewButton("break selected blocks around you", "buggy!!", function()
  76.     for i,v in pairs(game:GetService("Workspace").Blocks:GetDescendants()) do
  77.         if v.ClassName == "Part" or v.ClassName == "MeshPart" and v.Name == (selectedoption) then
  78.             if game.Players.LocalPlayer:DistanceFromCharacter(v.Position) < 16 then
  79.                 local A_1 = (v.Position.X/3)
  80.                 local A_2 = (v.Position.Y/3)
  81.                 local A_3 = (v.Position.Z/3)
  82.                 local Event = game:GetService("ReplicatedStorage").GameRemotes.BreakBlock
  83.                 Event:FireServer(A_1, A_2, A_3)
  84.                 wait(.5)
  85.                 local Event = game:GetService("ReplicatedStorage").GameRemotes.AcceptBreakBlock
  86.                 Event:InvokeServer()
  87.             end
  88.         end
  89.     end
  90. end)
  91.  
  92. local drpdwn2 = A1:NewDropdown("all players", "im not manually doing that", {"placeholder for update thing"}, function(value1)
  93.     selectedchar = value1
  94.     print(selectedchar)
  95. end)
  96.  
  97. A1:NewButton("update all players dropdown", "press it alot", function()
  98.     table.clear(list2)
  99.     for i,v in pairs(game.Players:GetPlayers()) do
  100.         if v.Name ~= game.Players.LocalPlayer.Name and v.Character then
  101.             table.insert(list2,v.Name)
  102.         end
  103.     end
  104.     drpdwn2:Refresh(list2)
  105. end)
  106.  
  107. A1:NewToggle("killaura (selected)", "killaura", function(bool)
  108.     getgenv().killauraselect = bool
  109.     if bool then
  110.         killauraselect()
  111.     else
  112.         print("killaura off")
  113.     end
  114. end)
  115.  
  116. A1:NewToggle("killaura (not selected)", "killaura", function(bool)
  117.     getgenv().killauranotselect = bool
  118.     if bool then
  119.         notkillauraselect()
  120.     else
  121.         print("killaura off")
  122.     end
  123. end)
  124.  
  125. A1:NewToggle("auto unvoid", "might need no fall damage", function(bool)
  126.     getgenv().unvoid = bool
  127.     if bool then
  128.         unvoid()
  129.     end
  130. end)
  131.  
  132. A1:NewButton("get all recipes", "what is rainbowitefarmingtool", function()
  133.     local senv = getsenv(game:GetService("Players").LocalPlayer.PlayerScripts.MainLocalScript)
  134.     hookfunction(senv.CheckIfRecipeAllowed, function(...)
  135.         return true
  136.     end)
  137. end)
  138.  
  139. A1:NewSlider("extend crafting recipes", "original value is 36", 50, 0, function(clength)
  140.     game:GetService("Players").LocalPlayer.PlayerGui.HUDGui.Inventory.CraftingBook.ScrollingFrame.UIGridLayout.CellSize = UDim2.new(0,36,0,clength)
  141. end)
  142.  
  143. A1:NewSlider("max zoom", "original value is 0.5", 100000, 0.5, function(mzlength)
  144.     game:GetService("Players").LocalPlayer.CameraMaxZoomDistance = mzlength
  145. end)
  146.  
  147. A1:NewSlider("minimum zoom", "original value is 0.5", 100000, 0.5, function(mzlength)
  148.     game:GetService("Players").LocalPlayer.CameraMinZoomDistance = mzlength
  149. end)
  150.  
  151. A1:NewButton("show ores", "guys these are legit", function()
  152.     game:GetService("StarterGui"):SetCore("SendNotification", {
  153.     Title = "some info",
  154.     Text = ("lava = orange, ruby = red, so dont confuse those")
  155.     })
  156.     for i,v in pairs(game.CoreGui:GetChildren()) do
  157.         if v.Name == "block esp things" then
  158.             v:Destroy()
  159.         end
  160.     end
  161.     local folder = Instance.new("Folder")
  162.     folder.Parent = game.CoreGui
  163.     folder.Name = "block esp things"
  164.     autoespores = game.Workspace.Blocks.DescendantAdded:Connect(function(v)
  165.         if v.Name == "CoalOre" or v.Name == "RainbowiteOre" or v.Name == "RubyOre" or v.Name == "GoldOre" or v.Name == "DiamondOre" or v.Name == "IronOre" or v.Name == "SapphireOre" or v.Name == "SteelOre" then
  166.             local box = Instance.new("BoxHandleAdornment")
  167.             box.Parent = folder
  168.             box.Color3 = v.Color
  169.             box.Size = v.Size
  170.             box.ZIndex = 10
  171.             box.Adornee = v
  172.             box.Name = v.Name
  173.             box.AlwaysOnTop = true
  174.             box.Visible = true
  175.             box.Transparency = 0.5
  176.         end
  177.     end)
  178.     for i,v in pairs(game.Workspace:GetDescendants()) do
  179.         if v.Name == "CoalOre" or v.Name == "RainbowiteOre" or v.Name == "RubyOre" or v.Name == "GoldOre" or v.Name == "DiamondOre" or v.Name == "IronOre" or v.Name == "SapphireOre" or v.Name == "SteelOre" then
  180.             local box = Instance.new("BoxHandleAdornment")
  181.             box.Parent = folder
  182.             box.Color3 = v.Color
  183.             box.Size = v.Size
  184.             box.ZIndex = 10
  185.             box.Adornee = v
  186.             box.Name = v.Name
  187.             box.AlwaysOnTop = true
  188.             box.Visible = true
  189.             box.Transparency = 0.5
  190.         end
  191.     end
  192. end)
  193.  
  194. A1:NewButton("stop showing ores", "ayo", function()
  195.     for i,v in pairs(game.CoreGui:GetChildren()) do
  196.         if v.Name == "block esp things" then
  197.             v:Destroy()
  198.         end
  199.     end
  200.     if autoespores ~= nil then
  201.         autoespores = nil
  202.     end
  203. end)
  204.  
  205. A1:NewButton("show lava", "no worry!!", function()
  206.     for i,v in pairs(game.CoreGui:GetChildren()) do
  207.         if v.Name == "lava esp things" then
  208.             v:Destroy()
  209.         end
  210.     end
  211.     local folder = Instance.new("Folder")
  212.     folder.Parent = game.CoreGui
  213.     folder.Name = "lava esp things"
  214.     autoesplava = game.Workspace.Blocks.DescendantAdded:Connect(function(v)
  215.         if v.Name == "Lava" then
  216.             local box = Instance.new("BoxHandleAdornment")
  217.             box.Parent = folder
  218.             box.Color3 = Color3.fromRGB(213, 115, 61)
  219.             box.Size = v.Size
  220.             box.ZIndex = 10
  221.             box.Adornee = v
  222.             box.Name = v.Name
  223.             box.AlwaysOnTop = true
  224.             box.Visible = true
  225.             box.Transparency = 0.5
  226.         end
  227.     end)
  228.     for i,v in pairs(game.Workspace:GetDescendants()) do
  229.         if v.Name == "Lava" then
  230.             local box = Instance.new("BoxHandleAdornment")
  231.             box.Parent = folder
  232.             box.Color3 = Color3.fromRGB(213, 115, 61)
  233.             box.Size = v.Size
  234.             box.ZIndex = 10
  235.             box.Adornee = v
  236.             box.Name = v.Name
  237.             box.AlwaysOnTop = true
  238.             box.Visible = true
  239.             box.Transparency = 0.5
  240.         end
  241.     end
  242. end)
  243.  
  244. A1:NewButton("stop showing lava", "worry!!", function()
  245.     for i,v in pairs(game.CoreGui:GetChildren()) do
  246.         if v.Name == "lava esp things" then
  247.             v:Destroy()
  248.         end
  249.     end
  250.     if autoesplava ~= nil then
  251.         autoesplava = nil
  252.     end
  253. end)
  254.  
  255. A1:NewButton("no fall damage", "no worry 2!!", function()
  256.     game:GetService("ReplicatedStorage").GameRemotes.Demo:Destroy()
  257. end)
  258.  
  259. A1:NewButton("get item stats", "l", function()
  260.     local req1 = require(game:GetService("ReplicatedStorage").AssetsMod.ItemLevels)
  261.     for i,v in pairs(req1) do
  262.         if type(v) == "table" then
  263.             if i == "axeR" then
  264.                 add("ItemStats.lua","Chopping:")
  265.                 for i,v in pairs(v) do
  266.                     if string.len(tostring(v)) == 1 then
  267.                         v = tostring(v).."0"
  268.                     end
  269.                     if string.len(tostring(v)) == 3 then
  270.                         v = tostring(v*10)
  271.                     end
  272.                     v = "0."..tostring(v).." Seconds"
  273.                     add("ItemStats.lua",i..": "..v)
  274.                 end
  275.                 add("ItemStats.lua","---------------------------------------")
  276.             end
  277.             if i == "pickaxeR" then
  278.                 add("ItemStats.lua","Mining Stone:")
  279.                 for i,v in pairs(v) do
  280.                     if string.len(tostring(v)) == 1 then
  281.                         v = "0"..tostring(v)
  282.                     end
  283.                     v = "0."..tostring(v).." Seconds"
  284.                     add("ItemStats.lua",i..": "..v)
  285.                 end
  286.                 add("ItemStats.lua","---------------------------------------")
  287.             end
  288.             if i == "speedMul" then
  289.                 add("ItemStats.lua","Speed Multiplier:")
  290.                 for i,v in pairs(v) do
  291.                     add("ItemStats.lua",i..": "..v)
  292.                 end
  293.                 add("ItemStats.lua","---------------------------------------")
  294.             end
  295.         end
  296.     end
  297.     game:GetService("StarterGui"):SetCore("SendNotification", {
  298.     Title = "howto go to file",
  299.     Text = ("go to your executor's workspace and then find ItemStats.lua, then open it")
  300.     })
  301. end)
  302.  
  303. A1:NewToggle("killaura", "killaura", function(bool)
  304.     getgenv().killaura = bool
  305.     if bool then
  306.         killaura()
  307.     else
  308.         print("killaura off")
  309.     end
  310. end)
  311.  
  312. A1:NewToggle("show hand/item", "or not", function(bool)
  313.     if bool then
  314.         for i,v in pairs(game:GetService("Workspace").Camera:GetChildren()) do
  315.             if v.ClassName ~= "BlurEffect" then
  316.                 v["Right Arm"].Transparency = 0
  317.             end
  318.         end
  319.     else
  320.         for i,v in pairs(game:GetService("Workspace").Camera:GetChildren()) do
  321.             if v.ClassName ~= "BlurEffect" then
  322.                 v["Right Arm"].Transparency = 1
  323.             end
  324.         end
  325.     end
  326. end)
  327.  
  328.  
  329. A1:NewToggle("esp", "esp", function(bool)
  330.     if bool then
  331.         for i,v in pairs(game.CoreGui:GetChildren()) do
  332.             if v.Name == "playeresp" then
  333.                 v:Destroy()
  334.             end
  335.         end
  336.         local folder = Instance.new("Folder")
  337.         folder.Parent = game.CoreGui
  338.         folder.Name = "playeresp"
  339.         for i,v in pairs(game.Players:GetPlayers()) do
  340.             if v ~= game.Players.LocalPlayer then
  341.                 for i,v in pairs(v.Character:GetChildren()) do
  342.                     if v:IsA("BasePart") then
  343.                         local box = Instance.new("BoxHandleAdornment")
  344.                         box.Parent = folder
  345.                         box.Color3 = v.Color
  346.                         box.Size = v.Size
  347.                         box.ZIndex = 10
  348.                         box.Adornee = v
  349.                         box.Name = v.Name
  350.                         box.AlwaysOnTop = true
  351.                         box.Visible = true
  352.                         box.Transparency = 0.5
  353.                     end
  354.                 end
  355.             end
  356.         end
  357.         getgenv().textloop = bool
  358.         for i,v in pairs(game.CoreGui:GetChildren()) do
  359.             if v.Name == "playeresptexttest" then
  360.                 v:Destroy()
  361.             end
  362.         end
  363.         wait(1)
  364.         local folder = Instance.new("Folder")
  365.         folder.Parent = game.CoreGui
  366.         folder.Name = "playeresptext"
  367.         for i,v in pairs(game.Players:GetPlayers()) do
  368.             if v ~= game.Players.LocalPlayer and v.Character.Head and v.Character.Humanoid then
  369.                 local bbgui = Instance.new("BillboardGui")
  370.                 bbgui.Name = "playeresptext"
  371.                 bbgui.Adornee = v.Character.Head
  372.                 bbgui.Parent = folder
  373.                 bbgui.AlwaysOnTop = true
  374.                 bbgui.Name = v.Name
  375.                 bbgui.Size = UDim2.new(0, 500, 0, 10)
  376.                 local text = Instance.new("TextLabel")
  377.                 text.Parent = bbgui
  378.                 text.TextSize = 10
  379.                 text.Name = v.Name
  380.                 text.Size = UDim2.new(0, 500, 0, 10)
  381.                 text.BackgroundTransparency = 1
  382.                 text.TextColor3 = Color3.fromRGB(v.TeamColor.Color.R*255,game.Players.LocalPlayer.TeamColor.Color.G*255,game.Players.LocalPlayer.TeamColor.Color.B*255)
  383.                 text.Text = ("Name: ".. v.Name.. " Health: ".. math.floor(v.Character.Humanoid.Health).. " Studs: ".. math.floor(game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position)))
  384.                 function textloop()
  385.                     spawn(function()
  386.                         while getgenv().textloop do
  387.                             if v ~= game.Players.LocalPlayer and v.Character.Head and v.Character.Humanoid then
  388.                                 text.Text = ("Name: ".. v.Name.. " Health: ".. math.floor(v.Character.Humanoid.Health).. " Studs: ".. math.floor(game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position)))
  389.                                 wait()
  390.                             end
  391.                         end
  392.                     end)
  393.                 end
  394.                 if getgenv().textloop then
  395.                     textloop()
  396.                 end
  397.             end
  398.         end
  399.     else
  400.         wait(.1)
  401.         for i,v in pairs(game.CoreGui:GetChildren()) do
  402.             if v.Name == "playeresp" then
  403.                 v:Destroy()
  404.             end
  405.         end
  406.         wait(.1)
  407.         for i,v in pairs(game.CoreGui:GetChildren()) do
  408.             if v.Name == "playeresptext" then
  409.                 v:Destroy()
  410.             end
  411.         end
  412.     end
  413. end)
  414.  
  415.  
  416. A1:NewKeybind("gui", "gui", Enum.KeyCode.RightControl, function()
  417.     Library:ToggleUI()
  418. end)
  419.  
  420. B1:NewLabel([[tip: you can do "~" for your coordinate]])
  421.  
  422. B1:NewTextBox("X", "x pos", function(txt)
  423.     if txt == "~" then
  424.         x = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.X
  425.     elseif string.find(txt,"~") and txt ~= "~" then
  426.         if string.sub(txt,1,1) == "~" then
  427.             x = tonumber(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z+(tonumber(string.sub(txt,2))*3))
  428.         else
  429.             game:GetService("StarterGui"):SetCore("SendNotification", {
  430.             Title = "bruh",
  431.             Text = ("put the ~ symbol before the numbers")
  432.             })
  433.         end
  434.     else
  435.         x = tonumber(txt)*3
  436.     end
  437.     print(x)
  438. end)
  439.  
  440. B1:NewTextBox("Y", "y pos", function(txt)
  441.     if txt == "~" then
  442.         y = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y
  443.     elseif string.find(txt,"~") and txt ~= "~" then
  444.         if string.sub(txt,1,1) == "~" then
  445.             y = tonumber(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y+(tonumber(string.sub(txt,2))*3))
  446.         else
  447.             game:GetService("StarterGui"):SetCore("SendNotification", {
  448.             Title = "bruh",
  449.             Text = ("put the ~ symbol before the numbers")
  450.             })
  451.         end
  452.     else
  453.         y = tonumber(txt)*3
  454.     end
  455.     print(y)
  456. end)
  457.  
  458. B1:NewTextBox("Z", "z pos", function(txt)
  459.     if txt == "~" then
  460.         z = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z
  461.     elseif string.find(txt,"~") and txt ~= "~" then
  462.         if string.sub(txt,1,1) == "~" then
  463.             z = tonumber(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Z+(tonumber(string.sub(txt,2))*3))
  464.         else
  465.             game:GetService("StarterGui"):SetCore("SendNotification", {
  466.             Title = "bruh",
  467.             Text = ("put the ~ symbol before the numbers")
  468.             })
  469.         end
  470.     else
  471.         z = tonumber(txt)*3
  472.     end
  473.     print(z)
  474. end)
  475.  
  476. B1:NewButton("go to x,y,z (coordinates)", "in coordinates", function()
  477.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
  478. end)
  479.  
  480. B2:NewButton("Infinite Yield", "very useful gui", function()
  481.     loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()
  482. end)
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498. function killaura()
  499.     spawn(function()
  500.         while getgenv().killaura do
  501.             for i,v in pairs(game.Players:GetPlayers()) do
  502.                 if v ~= game.Players.LocalPlayer and v.Character and game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 16 then
  503.                     game.ReplicatedStorage.GameRemotes.Attack:InvokeServer(v.Character)
  504.                 end
  505.             end
  506.             for i,v in pairs(game:GetService("Workspace").Animals:GetChildren()) do
  507.                 if v:FindFirstChild("HumanoidRootPart") and game.Players.LocalPlayer:DistanceFromCharacter(v.HumanoidRootPart.Position) < 16 then
  508.                     game.ReplicatedStorage.GameRemotes.AttackMob:InvokeServer(v)
  509.                 end
  510.             end
  511.             wait()
  512.         end
  513.     end)
  514. end
  515.  
  516. function killauraselect()
  517.     spawn(function()
  518.         while getgenv().killauraselect do
  519.             for i,v in pairs(game.Players:GetPlayers()) do
  520.                 if v ~= game.Players.LocalPlayer and v.Name == (selectedchar) and v.Character and game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 16 then
  521.                     game.ReplicatedStorage.GameRemotes.Attack:InvokeServer(v.Character)
  522.                 end
  523.             end
  524.             wait()
  525.         end
  526.     end)
  527. end
  528.  
  529. function killauranotselect()
  530.     spawn(function()
  531.         while getgenv().killauranotselect do
  532.             for i,v in pairs(game.Players:GetPlayers()) do
  533.                 if v ~= game.Players.LocalPlayer and v.Name ~= (selectedchar) and v.Character and game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 16 then
  534.                     game.ReplicatedStorage.GameRemotes.Attack:InvokeServer(v.Character)
  535.                 end
  536.             end
  537.             wait()
  538.         end
  539.     end)
  540. end
  541.  
  542.  
  543. function unvoid()
  544.     spawn(function()
  545.         while getgenv().unvoid do
  546.             if game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y <= -25 then
  547.                 game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y+40)
  548.             end
  549.             wait()
  550.         end
  551.     end)
  552. end
  553.  
  554.  
  555.  
  556. for i,v in pairs(game:GetService("ReplicatedFirst").Blocks:GetChildren()) do
  557.     if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  558.         table.insert(list,v.Name)
  559.     end
  560. end
  561.  
  562.  
  563. drpdwn:Refresh(list)
  564.  
  565.  
  566.  
  567. -- this disables infinite yield esp but not the names
  568.  
  569. --[[
  570. for i,v in pairs(game:GetService("CoreGui"):GetChildren()) do
  571.     if v.ClassName == "Folder" and string.find(v.Name,"_ESP") then
  572.         for i,v in pairs(v:GetChildren()) do
  573.             if v.ClassName == "BoxHandleAdornment" then
  574.                 v:Destroy()
  575.             end
  576.         end
  577.     end
  578. end
  579. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement