Roblox Dig It Script AUTO MINE & AUTO SELL

Roblox Dig It Script AUTO MINE & AUTO SELL

Script By FinestChris

getfenv().on = true
getfenv().mine = "Lead"
for i , v in pairs(game:GetService("Workspace").Blocks:GetDescendants()) do
    if v.Name == getfenv().mine and getfenv().on == true then
        game.Players.LocalPlayer.Character.PrimaryPart.CFrame = v.CFrame
        wait();
        local s = tostring(v.Position.X).."|"..tostring(v.Position.Y).."|"..v.Position.Z
        local Sell = game:GetService("Players")['LocalPlayer'].PlayerScripts.ClientPackage.Installer.EventCache.Sell
        local RF = game:GetService("ReplicatedStorage").RF
        RF:InvokeServer("Server","MineBlock",{[1] =s})
        Sell:Fire(true);
        wait();
    end;
end;

%d bloggers like this: