Roblox New Eden Auto Farm

a=game.Players.LocalPlayer.PlayerGui.MiningUI
if workspace.GameInteractives.MiningOutcrops:FindFirstChild("Barathrum") then
workspace.GameInteractives.MiningOutcrops.Barathrum:Destroy()
end
workspace.FallenPartsDestroyHeight=0/0
while game.RunService.Stepped:wait() do
pcall(function()
game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
local m = workspace.GameInteractives.MiningOutcrops:FindFirstChild("InteractionPoint",true)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=m.Parent.CFrame
game:GetService("ReplicatedStorage").Anima.AssetStorage:FindFirstChild("Framework Plugins").InteractionFramework.InteractionListener:FireServer(m)
if a.Enabled==true then
l=game:GetService("ReplicatedStorage").Anima.AssetStorage:FindFirstChild("Framework Plugins").MiningRemotes.MineKeyCode:InvokeServer(Enum.KeyCode[a.Frame.KeyPrompt.Text])
if l.NewKey then
a.Frame.KeyPrompt.Text=game.UserInputService:GetStringForKeyCode(l.NewKey)
else
game:GetService("ReplicatedStorage").Anima.AssetStorage["Framework Plugins"].MiningRemotes:WaitForChild("CancelMining"):FireServer()
end
end
end)
end