Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- reav
- local me = game.Players.LocalPlayer
- local ok = false
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game:GetService("CoreGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.Position = UDim2.new(0.172302201, 0, 0.29214862, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0, 299, 0, 233)
- Frame.Active = true
- Frame.Draggable = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- TextButton.Position = UDim2.new(0.0327655859, 0, 0.337103128, 0)
- TextButton.Size = UDim2.new(0, 279, 0, 74)
- TextButton.Font = Enum.Font.SciFi
- TextButton.Text = "FARM = OFF"
- TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
- TextButton.TextSize = 50
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(-0.00161084533, 0, -0.00398874283, 0)
- TextLabel.Size = UDim2.new(0, 299, 0, 25)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = "Drilling Simulator AutoFarm"
- TextLabel.TextColor3 = Color3.new(0.439216, 0.709804, 0)
- TextLabel.TextSize = 13
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.new(0.207843, 0.207843, 0.207843)
- TextLabel_2.BackgroundTransparency = 100
- TextLabel_2.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel_2.Position = UDim2.new(-0.00572396815, 0, 0.843203187, 0)
- TextLabel_2.Size = UDim2.new(0, 299, 0, 25)
- TextLabel_2.Font = Enum.Font.SciFi
- TextLabel_2.Text = "Cool Doggo - reavreav"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 0)
- TextLabel_2.TextSize = 15
- TextButton.MouseButton1Down:connect(function()
- if ok then
- TextButton.Text = "FARM = OFF"
- TextButton.TextColor3 = Color3.new(0.541176, 0, 0)
- else
- TextButton.Text = "FARM = ON"
- TextButton.TextColor3 = Color3.fromRGB(0, 134, 0)
- end
- ok = not ok
- end)
- local farm = coroutine.wrap(function()
- while wait() do
- if ok then
- for _,v in pairs(workspace.playerPlots[me.Name]:GetChildren()) do --thanks Cool Doggo
- if string.find(v.Name, "") then
- me.lootSearchEvent:FireServer("minePlot", v)
- me.lootSearchEvent:FireServer("collectPlot", v:WaitForChild(me.equippedDrill.Value))
- game:GetService("ReplicatedStorage").rEvents.sellEvent:FireServer("sellWholeBackpack")
- end
- end
- end
- end
- end)
- farm()
- local move = coroutine.wrap(function()
- while wait() do
- if ok then
- for i = 1,75 do
- wait()
- me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position + Vector3.new(-1,0,0))
- end
- for i = 1,75 do
- wait()
- me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position + Vector3.new(-0.5,0,0.5))
- end
- for i = 1,75 do
- wait()
- me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position + Vector3.new(0.5,0,-0.5))
- end
- for i = 1,75 do
- wait()
- me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position + Vector3.new(0,0,-1))
- end
- for i = 1,75 do
- wait()
- me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position + Vector3.new(0,0,1))
- end
- for i = 1,75 do
- wait()
- me.Character.HumanoidRootPart.CFrame = CFrame.new(me.Character.HumanoidRootPart.Position + Vector3.new(1,0,0))
- end
- end
- end
- end)
- move()
- -- reav
Add Comment
Please, Sign In to add comment