if game:GetService("CoreGui"):FindFirstChild("ToraScript") then game:GetService("CoreGui").ToraScript:Destroy() end local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/liebertsx/Tora-Library/main/src/librarynew", true))() local Window = Library:CreateWindow("Build A Mining Machine") Window:AddToggle({ text = "Mine Aura", flag = "toggle", state = false, callback = function(state) _G.Hit = state print("Hit: ", state) if state then Hit() end end }) function Hit() spawn(function() _G.Hit = true while _G.Hit do wait() pcall(function() local player = game:GetService("Players").LocalPlayer local root = player.Character.HumanoidRootPart local car = workspace.Cars:FindFirstChild(player.Name .. "_Car") if not car then return end local tools = {"Drill", "Pickaxe", "Piston", "Saw", "Shredder"} local carTools = {} for _, part in pairs(car:GetChildren()) do for _, name in ipairs(tools) do if string.find(part.Name, name) then table.insert(carTools, part) end end end if #carTools == 0 then return end local nearbyStones = {} for _, stone in pairs(workspace.StoneHitbox:GetDescendants()) do if stone:IsA("BasePart") and (stone.Position - root.Position).Magnitude <= 22 then table.insert(nearbyStones, stone) end end if #nearbyStones == 0 then return end local hits = { [1] = {} } local index = 1 for _, stone in ipairs(nearbyStones) do for _, tool in ipairs(carTools) do hits[1][index] = { Stone = stone, DrillModel = tool } index = index + 1 end end game:GetService("ReplicatedStorage").Events.Client.Ores.HitRequest:FireServer(unpack(hits)) wait() end) end end) end Window:AddToggle({ text = "Auto Last CheckPoint", flag = "toggle", state = false, callback = function(state) _G.CheckPoint = state print("CheckPoint: ", state) if state then CheckPoint() end end }) function CheckPoint() spawn(function() _G.CheckPoint = true while _G.CheckPoint do wait() pcall(function() local messages = game:GetService("Players").LocalPlayer.PlayerGui.ScreenMessages.MessagesContainer:GetChildren() for _, msg in pairs(messages) do if msg:IsA("TextLabel") and string.find(msg.Text, "Your machine has broken down!") then game:GetService("ReplicatedStorage").Events.Client.Car.LoadCheckpoint:FireServer() break end end wait(0.5) end) end end) end Window:AddToggle({ text = "Sell All", flag = "toggle", state = false, callback = function(state) _G.Sell = state print("Sell: ", state) if state then Sell() end end }) function Sell() spawn(function() _G.Sell = true while _G.Sell do wait() pcall(function() game:GetService("ReplicatedStorage").Events.Client.Ores.SellAll:InvokeServer() wait(5) end) end end) end Window:AddLabel({ text = "YouTube: Tora IsMe" }) Library:Init()