-- made by @kylosilly on discord local replicated_storage = game:GetService("ReplicatedStorage"); local start = replicated_storage.Network.RemoteFunctions.StartDigging; local finish = replicated_storage.Network.RemoteEvents["0a1baf564dbb5375"]; local ending = replicated_storage.Network.RemoteEvents.EndDigging; getgenv().sigma = not getgenv().sigma; repeat start:InvokeServer(); task.wait(1); finish:FireServer(1); task.wait(1); ending:FireServer("Succeeded"); task.wait(1); until (not getgenv().sigma);