Teo_Hacks

SCRIPT

Jul 4th, 2022 (edited)
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.52 KB | None | 0 0
  1. -- BASEPLATE GAME SCRIPT
  2. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  3. local Window = Library.CreateLib("NEGR0", "Synapse")
  4.  
  5. --Home
  6. local Home = Window:NewTab("Hola")
  7. local HomeSection = Home:NewSection("HOLA BIEVENIDO AL SCRIPT DEL NEGRO")
  8.  
  9. HomeSection:NewKeybind("OCULTAR SCRIPT", "CLIC F", Enum.KeyCode.F, function()
  10. print("You just clicked the bind")
  11. Library:ToggleUI()
  12. end)
  13.  
  14. --Mine
  15. local Mine = Window:NewTab("Minar")
  16. local MineSection = Mine:NewSection("Minar")
  17.  
  18. MineSection:NewButton(" Minar RAPIDO", "Auto MInar Farm", function()
  19. _G.On = true -- true = on / false = off
  20.  
  21. -- main scripts below --
  22.  
  23. function breakblock(pos)
  24. local args = {
  25. [1] = pos
  26. }
  27.  
  28. game:GetService("ReplicatedStorage").Events.MineBlock:FireServer(unpack(args))
  29. end
  30.  
  31. local Mod = require(game:GetService("ReplicatedStorage").SharedModules.ChunkUtil)
  32.  
  33. function getPartBelow()
  34. local Character = game.Players.LocalPlayer.Character
  35. local Foot = Character.RightFoot
  36. local RayOrigin = Foot.Position
  37. local RayDirection = Vector3.new(0, -1, 0)
  38.  
  39. local Params = RaycastParams.new()
  40. Params.FilterType = Enum.RaycastFilterType.Blacklist
  41. Params.FilterDescendantsInstances = {Character}
  42.  
  43. local Result = workspace:Raycast(RayOrigin, RayDirection, Params)
  44.  
  45. if Result then
  46. local RayInstance = Result.Instance
  47. print("Instance hit: " .. tostring(RayInstance))
  48. return RayInstance
  49. end
  50.  
  51. return nil
  52. end
  53.  
  54. while _G.On do
  55. task.wait()
  56. local closest = getPartBelow()
  57.  
  58. if closest ~= nil then
  59. local Pos = closest.Position
  60.  
  61. local NewPos = Mod.worldToCell(Pos)
  62.  
  63. task.spawn(
  64. function()
  65. breakblock(NewPos)
  66. end
  67. )
  68. end
  69. end
  70.  
  71. end)
  72.  
  73. MineSection:NewButton(" Minar ORES", "Auto MInar ORES", function()
  74. local modulex = require(game:GetService("ReplicatedStorage").SharedModules.Data.Tools)
  75. for i,v in pairs(modulex) do
  76. modulex[i]["Speed"] = math.huge
  77. end
  78.  
  79. local modulex = require(game:GetService("ReplicatedStorage").SharedModules.Constants)
  80. modulex.MinMiningTime = 0
  81. modulex.MaxMiningTime = 0
  82. modulex.MaxSelectionDistance = 12
  83.  
  84. local LoadModule = require(game:GetService("ReplicatedStorage").LoadModule);
  85. local ChunkUtil = LoadModule("ChunkUtil");
  86. local Network = LoadModule("Network");
  87. local LocalData = LoadModule("LocalData");
  88. local Blocks = LoadModule("Blocks");
  89. local GetCurrencyMultiplier = LoadModule("GetCurrencyMultiplier");
  90. local GetRebirthCost = LoadModule("GetRebirthCost");
  91. local GetSellTeleport = LoadModule("GetSellTeleport");
  92. local GetBackpackStatus = LoadModule("GetBackpackStatus");
  93.  
  94. function TeleportTo(...)
  95. Network:FireServer("RemoveTeleporter")
  96. Network:FireServer("PlaceTeleporter",Vector3.new(...))
  97. Network:FireServer("GotoTeleporter")
  98. end
  99.  
  100. function VectorToNumber(vec)
  101. return vec.X,vec.Y,vec.Z
  102. end
  103.  
  104. function CurrentBackpackValue()
  105. local numberr = 0
  106. for i,v in pairs(LocalData:GetData("BackpackInventory")) do
  107. numberr += Blocks[v[1]]["Value"][2] * v[2]
  108. end
  109. return numberr * GetCurrencyMultiplier(game.Players.LocalPlayer, "Coins", LocalData:GetData("Passes"), LocalData:GetData("GemEnchantments"))
  110. end
  111.  
  112. function RebirthCosts()
  113. return GetRebirthCost(LocalData:GetData("Rebirths"), LocalData:GetData("GemEnchantments"));
  114. end
  115.  
  116. xd = nil
  117. function TeleportAndMine(Name)
  118. if xd ~= nil then
  119. return
  120. end
  121. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  122. if v.Name == Name then
  123. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  124. task.wait()
  125. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  126. return v
  127. end
  128. end
  129.  
  130. --Just so its farming some other stuff if it can't find the ore u want
  131. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  132. if v.Name == "chromite" then
  133. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  134. task.wait()
  135. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  136. return v
  137. end
  138. end
  139. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  140. if v.Name == "unobtanium" then
  141. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  142. task.wait()
  143. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  144. return v
  145. end
  146. end
  147. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  148. if v.Name == "fireshard" then
  149. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  150. task.wait()
  151. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  152. return v
  153. end
  154. end
  155. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  156. if v.Name == "mythril" then
  157. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  158. task.wait()
  159. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  160. return v
  161. end
  162. end
  163. end
  164.  
  165. spawn(function()
  166. while task.wait() do
  167. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  168. if v.Name ~= "larimar" and v.Name ~= "chromite" and v.Name ~= "unobtanium" and v.Name ~= "fireshard" and v.Name ~= "mythril" and v:IsA("Part") then
  169. v:Destroy()
  170. end
  171. end
  172. end
  173. end)
  174.  
  175. while task.wait(0.1) do
  176. if CurrentBackpackValue() >= RebirthCosts() then
  177. print("Sell/Rebirth")
  178. Network:FireServer("Teleport", GetSellTeleport(game.Players.LocalPlayer));
  179. Network:FireServer("QuickSell");
  180. Network:FireServer("Rebirth");
  181. else
  182. xd = TeleportAndMine("chromite")
  183. end
  184. end
  185. end)
  186.  
  187. --CHEST
  188. local Chest = Window:NewTab("Cofres")
  189. local ChestSection = Chest:NewSection("Cofre FARM")
  190.  
  191. ChestSection:NewButton(" Cofres", "Farmear cofres legendarios, epicos", function()
  192.  
  193. --// Settings \\--
  194.  
  195. getgenv().Chests = {
  196. 'Legendary';
  197. 'Epic';
  198. }
  199.  
  200. --// Main \\--
  201.  
  202. loadstring(game:HttpGet'https://github.com/RunDTM/miningsim2/raw/main/serverhop.lua')()
  203.  
  204. end)
  205.  
  206. ChestSection:NewButton("ESP cofres", "Muestra donde estan los cofres", function()
  207.  
  208. chestsn = { -- Avalible: "Wood", "Silver", "Gold", "Epic" or "Legendary", delete unnecessary values
  209. "Wood",
  210. "Silver",
  211. "Gold",
  212. "Epic",
  213. "Legendary"
  214. }
  215. local function contains(table, val)
  216. for i=1,#table do
  217. if table[i] == val then return true end
  218. end
  219. return false
  220. end
  221. for __,v in pairs(game:GetService("Workspace").Chests:GetChildren()) do
  222. if v:FindFirstChild("ESP") then v:FindFirstChild("ESP"):Destroy() end
  223. if contains(chestsn, v.Name) then
  224. -- RGB colors of chests
  225. if v.Name == "Wood" then
  226. tcolor = Color3.fromRGB(222, 184, 135)
  227. elseif v.Name == "Silver" then
  228. tcolor = Color3.fromRGB(192, 192, 192)
  229. elseif v.Name == "Gold" then
  230. tcolor = Color3.fromRGB(255, 215, 0)
  231. elseif v.Name == "Epic" then
  232. tcolor = Color3.fromRGB(138, 43, 226)
  233. elseif v.Name == "Legendary" then
  234. tcolor = Color3.fromRGB(0, 255, 255)
  235. end
  236.  
  237. local a = Instance.new("BillboardGui",v)
  238. a.Name = "ESP"
  239. a.Size = UDim2.new(5,0, 5,0)
  240. a.AlwaysOnTop = true
  241. local b = Instance.new("Frame",a)
  242. b.Size = UDim2.new(1,0, 1,0)
  243. b.BackgroundTransparency = 0.80
  244. b.BorderSizePixel = 0
  245. b.BackgroundColor3 = tcolor
  246. local c = Instance.new('TextLabel',b)
  247. c.Size = UDim2.new(1,0,1,1)
  248. c.BorderSizePixel = 0
  249. c.TextSize = 15
  250. c.Text = v.Name
  251. c.BackgroundTransparency = 1
  252. c.TextColor3 = tcolor
  253. c.TextStrokeColor3 = Color3.fromRGB(6, 6, 6)
  254. c.TextStrokeTransparency = 0.7
  255. end
  256. end
  257. end)
  258.  
  259. --Egg
  260. local Egg = Window:NewTab("Huevos")
  261. local EggSection = Egg:NewSection("Patriotic Egg")
  262.  
  263. EggSection:NewButton(" ", "Auto MInar ORES", function()
  264. -- BASEPLATE GAME SCRIPT
  265. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  266. local Window = Library.CreateLib("NEGR0", "Synapse")
  267.  
  268. --Home
  269. local Home = Window:NewTab("Hola")
  270. local HomeSection = Home:NewSection("HOLA BIEVENIDO AL SCRIPT DEL NEGRO")
  271.  
  272. --Mine
  273. local Mine = Window:NewTab("Minar")
  274. local MineSection = Mine:NewSection("Minar")
  275.  
  276. MineSection:NewButton(" Minar RAPIDO", "Auto MInar Farm", function()
  277. _G.On = true -- true = on / false = off
  278.  
  279. -- main scripts below --
  280.  
  281. function breakblock(pos)
  282. local args = {
  283. [1] = pos
  284. }
  285.  
  286. game:GetService("ReplicatedStorage").Events.MineBlock:FireServer(unpack(args))
  287. end
  288.  
  289. local Mod = require(game:GetService("ReplicatedStorage").SharedModules.ChunkUtil)
  290.  
  291. function getPartBelow()
  292. local Character = game.Players.LocalPlayer.Character
  293. local Foot = Character.RightFoot
  294. local RayOrigin = Foot.Position
  295. local RayDirection = Vector3.new(0, -1, 0)
  296.  
  297. local Params = RaycastParams.new()
  298. Params.FilterType = Enum.RaycastFilterType.Blacklist
  299. Params.FilterDescendantsInstances = {Character}
  300.  
  301. local Result = workspace:Raycast(RayOrigin, RayDirection, Params)
  302.  
  303. if Result then
  304. local RayInstance = Result.Instance
  305. print("Instance hit: " .. tostring(RayInstance))
  306. return RayInstance
  307. end
  308.  
  309. return nil
  310. end
  311.  
  312. while _G.On do
  313. task.wait()
  314. local closest = getPartBelow()
  315.  
  316. if closest ~= nil then
  317. local Pos = closest.Position
  318.  
  319. local NewPos = Mod.worldToCell(Pos)
  320.  
  321. task.spawn(
  322. function()
  323. breakblock(NewPos)
  324. end
  325. )
  326. end
  327. end
  328. end)
  329.  
  330. MineSection:NewButton(" Minar ORES", "Auto MInar ORES", function()
  331. local modulex = require(game:GetService("ReplicatedStorage").SharedModules.Data.Tools)
  332. for i,v in pairs(modulex) do
  333. modulex[i]["Speed"] = math.huge
  334. end
  335.  
  336. local modulex = require(game:GetService("ReplicatedStorage").SharedModules.Constants)
  337. modulex.MinMiningTime = 0
  338. modulex.MaxMiningTime = 0
  339. modulex.MaxSelectionDistance = 12
  340.  
  341. local LoadModule = require(game:GetService("ReplicatedStorage").LoadModule);
  342. local ChunkUtil = LoadModule("ChunkUtil");
  343. local Network = LoadModule("Network");
  344. local LocalData = LoadModule("LocalData");
  345. local Blocks = LoadModule("Blocks");
  346. local GetCurrencyMultiplier = LoadModule("GetCurrencyMultiplier");
  347. local GetRebirthCost = LoadModule("GetRebirthCost");
  348. local GetSellTeleport = LoadModule("GetSellTeleport");
  349. local GetBackpackStatus = LoadModule("GetBackpackStatus");
  350.  
  351. function TeleportTo(...)
  352. Network:FireServer("RemoveTeleporter")
  353. Network:FireServer("PlaceTeleporter",Vector3.new(...))
  354. Network:FireServer("GotoTeleporter")
  355. end
  356.  
  357. function VectorToNumber(vec)
  358. return vec.X,vec.Y,vec.Z
  359. end
  360.  
  361. function CurrentBackpackValue()
  362. local numberr = 0
  363. for i,v in pairs(LocalData:GetData("BackpackInventory")) do
  364. numberr += Blocks[v[1]]["Value"][2] * v[2]
  365. end
  366. return numberr * GetCurrencyMultiplier(game.Players.LocalPlayer, "Coins", LocalData:GetData("Passes"), LocalData:GetData("GemEnchantments"))
  367. end
  368.  
  369. function RebirthCosts()
  370. return GetRebirthCost(LocalData:GetData("Rebirths"), LocalData:GetData("GemEnchantments"));
  371. end
  372.  
  373. xd = nil
  374. function TeleportAndMine(Name)
  375. if xd ~= nil then
  376. return
  377. end
  378. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  379. if v.Name == Name then
  380. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  381. task.wait()
  382. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  383. return v
  384. end
  385. end
  386.  
  387. --Just so its farming some other stuff if it can't find the ore u want
  388. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  389. if v.Name == "chromite" then
  390. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  391. task.wait()
  392. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  393. return v
  394. end
  395. end
  396. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  397. if v.Name == "unobtanium" then
  398. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  399. task.wait()
  400. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  401. return v
  402. end
  403. end
  404. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  405. if v.Name == "fireshard" then
  406. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  407. task.wait()
  408. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  409. return v
  410. end
  411. end
  412. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  413. if v.Name == "mythril" then
  414. TeleportTo(VectorToNumber(ChunkUtil.worldToCell(v.Position)))
  415. task.wait()
  416. Network:FireServer("MineBlock", ChunkUtil.worldToCell(v.Position))
  417. return v
  418. end
  419. end
  420. end
  421.  
  422. spawn(function()
  423. while task.wait() do
  424. for i,v in pairs(game:GetService("Workspace").Chunks:GetDescendants()) do
  425. if v.Name ~= "larimar" and v.Name ~= "chromite" and v.Name ~= "unobtanium" and v.Name ~= "fireshard" and v.Name ~= "mythril" and v:IsA("Part") then
  426. v:Destroy()
  427. end
  428. end
  429. end
  430. end)
  431.  
  432. while task.wait(0.1) do
  433. if CurrentBackpackValue() >= RebirthCosts() then
  434. print("Sell/Rebirth")
  435. Network:FireServer("Teleport", GetSellTeleport(game.Players.LocalPlayer));
  436. Network:FireServer("QuickSell");
  437. Network:FireServer("Rebirth");
  438. else
  439. xd = TeleportAndMine("chromite")
  440. end
  441. end
  442. end)
  443.  
  444. --CHEST
  445. local Chest = Window:NewTab("Cofres")
  446. local ChestSection = Chest:NewSection("Cofre FARM")
  447.  
  448. ChestSection:NewButton(" Cofres", "Farmear cofres legendarios, epicos", function()
  449.  
  450. --// Settings \\--
  451.  
  452. getgenv().Chests = {
  453. 'Legendary';
  454. 'Epic';
  455. }
  456.  
  457. --// Main \\--
  458.  
  459. loadstring(game:HttpGet'https://github.com/RunDTM/miningsim2/raw/main/serverhop.lua')()
  460.  
  461. end)
  462.  
  463. ChestSection:NewButton("ESP cofres", "Muestra donde estan los cofres", function()
  464.  
  465. chestsn = { -- Avalible: "Wood", "Silver", "Gold", "Epic" or "Legendary", delete unnecessary values
  466. "Wood",
  467. "Silver",
  468. "Gold",
  469. "Epic",
  470. "Legendary"
  471. }
  472. local function contains(table, val)
  473. for i=1,#table do
  474. if table[i] == val then return true end
  475. end
  476. return false
  477. end
  478. for __,v in pairs(game:GetService("Workspace").Chests:GetChildren()) do
  479. if v:FindFirstChild("ESP") then v:FindFirstChild("ESP"):Destroy() end
  480. if contains(chestsn, v.Name) then
  481. -- RGB colors of chests
  482. if v.Name == "Wood" then
  483. tcolor = Color3.fromRGB(222, 184, 135)
  484. elseif v.Name == "Silver" then
  485. tcolor = Color3.fromRGB(192, 192, 192)
  486. elseif v.Name == "Gold" then
  487. tcolor = Color3.fromRGB(255, 215, 0)
  488. elseif v.Name == "Epic" then
  489. tcolor = Color3.fromRGB(138, 43, 226)
  490. elseif v.Name == "Legendary" then
  491. tcolor = Color3.fromRGB(0, 255, 255)
  492. end
  493.  
  494. local a = Instance.new("BillboardGui",v)
  495. a.Name = "ESP"
  496. a.Size = UDim2.new(5,0, 5,0)
  497. a.AlwaysOnTop = true
  498. local b = Instance.new("Frame",a)
  499. b.Size = UDim2.new(1,0, 1,0)
  500. b.BackgroundTransparency = 0.80
  501. b.BorderSizePixel = 0
  502. b.BackgroundColor3 = tcolor
  503. local c = Instance.new('TextLabel',b)
  504. c.Size = UDim2.new(1,0,1,1)
  505. c.BorderSizePixel = 0
  506. c.TextSize = 15
  507. c.Text = v.Name
  508. c.BackgroundTransparency = 1
  509. c.TextColor3 = tcolor
  510. c.TextStrokeColor3 = Color3.fromRGB(6, 6, 6)
  511. c.TextStrokeTransparency = 0.7
  512. end
  513. end
  514. end)
  515.  
  516. --Egg
  517. local Egg = Window:NewTab("Huevos")
  518. local EggSection = Egg:NewSection("Patriotic Egg")
  519.  
  520. EggSection:NewButton(" ", "Auto MInar ORES", function()
  521. local function YLML_fake_script() -- CrystalCavern.CrystalScript
  522. local script = Instance.new('LocalScript', CrystalCavern)
  523.  
  524. local button = script.Parent
  525.  
  526. local function Start()
  527. local args = {
  528. [1] = "Crystal Cavern"
  529. }
  530.  
  531. game:GetService("ReplicatedStorage").Events.Teleport:FireServer(unpack(args))
  532. end
  533.  
  534. button.MouseButton1Click:Connect(function()
  535. Start()
  536. end)
  537. end
  538. coroutine.wrap(YLML_fake_script)()
  539. local function GQNH_fake_script() -- Surface.SurfaceScript
  540. local script = Instance.new('LocalScript', Surface)
  541.  
  542. local button = script.Parent
  543.  
  544. local function Start()
  545. local args = {
  546. [1] = "Surface"
  547. }
  548.  
  549. game:GetService("ReplicatedStorage").Events.Teleport:FireServer(unpack(args))
  550. end
  551.  
  552. button.MouseButton1Click:Connect(function()
  553. Start()
  554. end)
  555. end
  556. end)
  557. end)
  558.  
  559. --FPS
  560. local Fps = Window:NewTab("FPS")
  561. local FpsSection = Fps:NewSection("FPS ")
  562.  
  563. FpsSection:NewButton("FPS BOOST", "Eliminar chucks, Eliminar Iluminacion", function()
  564.  
  565. -- Made by IMNOTMUR#0051
  566. _G.Settings = {
  567. Players = {
  568. ["Ignore Me"] = true, -- Ignore your Character
  569. ["Ignore Others"] = true -- Ignore other Characters
  570. },
  571. Meshes = {
  572. Destroy = false, -- Destroy Meshes
  573. LowDetail = true -- Low detail meshes (NOT SURE IT DOES ANYTHING)
  574. },
  575. Images = {
  576. Invisible = true, -- Invisible Images
  577. LowDetail = false, -- Low detail images (NOT SURE IT DOES ANYTHING)
  578. Destroy = false, -- Destroy Images
  579. },
  580. Other = {
  581. ["No Particles"] = true, -- Disables all ParticleEmitter, Trail, Smoke, Fire and Sparkles
  582. ["No Camera Effects"] = true, -- Disables all PostEffect's (Camera/Lighting Effects)
  583. ["No Explosions"] = true, -- Makes Explosion's invisible
  584. ["No Clothes"] = true, -- Removes Clothing from the game
  585. ["Low Water Graphics"] = true, -- Removes Water Quality
  586. ["No Shadows"] = true, -- Remove Shadows
  587. ["Low Rendering"] = true, -- Lower Rendering
  588. ["Low Quality Parts"] = true -- Lower quality parts
  589. }
  590. }
  591. loadstring(game:HttpGet("https://raw.githubusercontent.com/CasperFlyModz/discord.gg-rips/main/FPSBooster.lua"))()
  592.  
  593. end)
  594.  
  595.  
Advertisement
Add Comment
Please, Sign In to add comment