Run it
Copy the script and paste it into your executor.
--!strict
--!optimize 2
--!native
p=game.Players.LocalPlayer
h=p.Character.HumanoidRootPart
f=workspace.Map.Functional
s=f.DigZone.SpawnedItems
r=game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("GameEvent")
v={"Common","Uncommon","Rare","Epic","Legendary"}
function pickup(x)
r:FireServer("PickupDigItem",x)
end
function pickupall()
for i,v in ipairs(s:GetChildren())do
for a,b in ipairs(v:GetChildren())do
pcall(pickup,b:GetAttribute("UID"))
end
end
(x)
n=x:(,):()..x:():()
e=
i,t (v)
t==n
e=
e s:(n)
i,c (s[n]:())
(pickup,c:())
()
h.CFrame=.(,-,-,-,,,,,,-,,-)
.()
t=f.SpawnedNPCs.Seller[].RightGripAttachment.BuyPrompt
(t)
(t)
.()
h.CFrame=.(-,-,,-,,-,,,,,-,-)
()
.()
()⛏️Dig to Escape