Balls Ore Miners Mobile Script
Roblox Scripts is what Roblox players and coders use to build interactive games. To be more specific, players use Lua scripts a popular scripting and programming language.
Instruction
1.Open Roblox And Start Playing 2.Click The Blue Circle To Copy The Script Code 3.Paste The Script Code Into Your Executor 4.Then Execute The Script Code 5.Enjoy
Script Code
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "ihatethisgame" screenGui.Parent = playerGui screenGui.ResetOnSpawn = false local function createCorner(parent, radius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, radius) corner.Parent = parent end local function createGlow(parent, color) local glow = Instance.new("ImageLabel") glow.Name = "Glow" glow.BackgroundTransparency = 1 glow.Image = "rbxassetid://5028857472" glow.ImageColor3 = color glow.ImageTransparency = 0.8 glow.Size = UDim2.new(1, 5, 1, 5) glow.Position = UDim2.new(0.5, 0, 0.5, 0) glow.AnchorPoint = Vector2.new(0.5, 0.5) glow.ZIndex = parent.ZIndex - 1 glow.Parent = parent createCorner(glow, 10) end local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 550, 0, 340) mainFrame.Position = UDim2.new(0.5, -275, 0.5, -170) mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui createCorner(mainFrame, 10) createGlow(mainFrame, Color3.fromRGB(246, 54, 138)) local topBar = Instance.new("Frame") topBar.Name = "TopBar" topBar.Size = UDim2.new(1, 0, 0, 30) topBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30) topBar.BorderSizePixel = 0 topBar.Parent = mainFrame createCorner(topBar, 10) local titleLabel = Instance.new("TextLabel") titleLabel.Name = "TitleLabel" titleLabel.Size = UDim2.new(0, 100, 1, 0) titleLabel.Position = UDim2.new(0, 10, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Font = Enum.Font.GothamBold titleLabel.Text = "balls" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 18 titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Parent = topBar local closeButton = Instance.new("TextButton") closeButton.Name = "CloseButton" closeButton.Size = UDim2.new(0, 30, 0, 30) closeButton.Position = UDim2.new(1, -30, 0, 0) closeButton.BackgroundTransparency = 1 closeButton.Font = Enum.Font.GothamBold closeButton.Text = "X" closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.TextSize = 18 closeButton.Parent = topBar local minimizeButton = Instance.new("TextButton") minimizeButton.Name = "MinimizeButton" minimizeButton.Size = UDim2.new(0, 30, 0, 30) minimizeButton.Position = UDim2.new(1, -60, 0, 0) minimizeButton.BackgroundTransparency = 1 minimizeButton.Font = Enum.Font.GothamBold minimizeButton.Text = "-" minimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) minimizeButton.TextSize = 18 minimizeButton.Parent = topBar local contentFrame = Instance.new("Frame") contentFrame.Name = "ContentFrame" contentFrame.Size = UDim2.new(1, -20, 1, -40) contentFrame.Position = UDim2.new(0, 10, 0, 35) contentFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) contentFrame.BorderSizePixel = 0 contentFrame.Parent = mainFrame createCorner(contentFrame, 10) local function createToggle(name, position) local toggleFrame = Instance.new("Frame") toggleFrame.Name = name .. "Toggle" toggleFrame.Size = UDim2.new(0, 200, 0, 30) toggleFrame.Position = position toggleFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) toggleFrame.Parent = contentFrame createCorner(toggleFrame, 5) local toggleLabel = Instance.new("TextLabel") toggleLabel.Name = "Label" toggleLabel.Size = UDim2.new(0.7, 0, 1, 0) toggleLabel.BackgroundTransparency = 1 toggleLabel.Font = Enum.Font.Gotham toggleLabel.Text = name toggleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) toggleLabel.TextSize = 14 toggleLabel.TextXAlignment = Enum.TextXAlignment.Left toggleLabel.Parent = toggleFrame local toggleButton = Instance.new("TextButton") toggleButton.Name = "Button" toggleButton.Size = UDim2.new(0, 40, 0, 20) toggleButton.Position = UDim2.new(1, -45, 0.5, -10) toggleButton.BackgroundColor3 = Color3.fromRGB(255, 85, 127) toggleButton.Text = "" toggleButton.Parent = toggleFrame createCorner(toggleButton, 10) local toggleCircle = Instance.new("Frame") toggleCircle.Name = "Circle" toggleCircle.Size = UDim2.new(0, 16, 0, 16) toggleCircle.Position = UDim2.new(0, 2, 0.5, -8) toggleCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255) toggleCircle.Parent = toggleButton createCorner(toggleCircle, 8) local toggled = false toggleButton.MouseButton1Click:Connect(function() toggled = not toggled local goalPosition = toggled and UDim2.new(1, -18, 0.5, -8) or UDim2.new(0, 2, 0.5, -8) local goalColor = toggled and Color3.fromRGB(85, 255, 127) or Color3.fromRGB(255, 85, 127) TweenService:Create(toggleCircle, TweenInfo.new(0.2), {Position = goalPosition}):Play() TweenService:Create(toggleButton, TweenInfo.new(0.2), {BackgroundColor3 = goalColor}):Play() end) return toggleButton end local function createButton(name, position) local button = Instance.new("TextButton") button.Name = name .. "Button" button.Size = UDim2.new(0, 200, 0, 30) button.Position = position button.BackgroundColor3 = Color3.fromRGB(40, 40, 40) button.Font = Enum.Font.Gotham button.Text = name button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextSize = 14 button.Parent = contentFrame createCorner(button, 5) return button end local rebirthToggle = createToggle("Rebirth Loop", UDim2.new(0, 10, 0, 10)) local eggToggle = createToggle("Egg Hatch Loop", UDim2.new(0, 10, 0, 70)) local clickToggle = createToggle("Click Loop", UDim2.new(0, 10, 0, 130)) local getCrystalsButton = createButton("Get Crystals", UDim2.new(0, 10, 0, 190)) local isRebirthLooping = false local isEggLooping = false local isClickLooping = false local hasEquippedBestPets = false local hasTeleported = false local function checkStorageCapacity() local pets = playerGui:WaitForChild("Pets") local frame = pets:WaitForChild("Frame") local main = frame:WaitForChild("Main") local equipStorage = main:WaitForChild("EquipStorage") local storageMain = equipStorage:WaitForChild("Main") local storageText = storageMain:WaitForChild("StorageText") local current, max = storageText.Text:match("(%d+)/(%d+)") return tonumber(current) >= 223 end local function performRebirth() local args = { [1] = 999999999999999999999999999999999999 } ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("RequestRebirths"):FireServer(unpack(args)) end local function performEggHatch() local args = { [1] = "Candy Geode", [2] = 3 } ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Eggs"):WaitForChild("Hatch"):InvokeServer(unpack(args)) end local function equipBestPets() ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Pets"):WaitForChild("EquipBestPets"):FireServer() end local function massDeletePets() ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Pets"):WaitForChild("MassDeletePets"):FireServer() end local function performClick() ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Click"):FireServer() end local function getCrystals() ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("RequestGeode"):FireServer("Starter Geode", -99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) end rebirthToggle.MouseButton1Click:Connect(function() isRebirthLooping = not isRebirthLooping if isRebirthLooping then spawn(function() while isRebirthLooping do performRebirth() wait(0.1) end end) end end) eggToggle.MouseButton1Click:Connect(function() isEggLooping = not isEggLooping if isEggLooping then spawn(function() while isEggLooping do if checkStorageCapacity() then if not hasEquippedBestPets then equipBestPets() hasEquippedBestPets = true wait(1) end massDeletePets() wait(1) hasEquippedBestPets = false else performEggHatch() end wait(0.1) end end) end end) clickToggle.MouseButton1Click:Connect(function() isClickLooping = not isClickLooping if isClickLooping then if not hasTeleported then player.Character:SetPrimaryPartCFrame(CFrame.new(-3158.58691, 497.476593, 84.4478073, -0.700786948, -1.0215323e-09, 0.713370621, -3.86006827e-09, 1, -2.35999797e-09, -0.713370621, -4.40751524e-09, -0.700786948)) hasTeleported = true end spawn(function() while isClickLooping do performClick() wait(0.1) end end) else hasTeleported = false end end) getCrystalsButton.MouseButton1Click:Connect(function() getCrystals() end) local function toggleUI() screenGui.Enabled = not screenGui.Enabled end UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and input.KeyCode == Enum.KeyCode.J then toggleUI() end end) closeButton.MouseButton1Click:Connect(function() screenGui.Enabled = false end) local isMinimized = false minimizeButton.MouseButton1Click:Connect(function() isMinimized = not isMinimized if isMinimized then mainFrame.Size = UDim2.new(0, mainFrame.Size.X.Offset, 0, topBar.Size.Y.Offset) contentFrame.Visible = false else mainFrame.Size = UDim2.new(0, mainFrame.Size.X.Offset, 0, 340) contentFrame.Visible = true end end) local dragging = false local dragStart = nil local startPos = nil topBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position end end) topBar.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart mainFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) topBar.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) screenGui.Enabled = true return mainFrame