Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [quote='Iallwaysgetafk' pid='4077471' dateline='1529220185']
- Its been a while since i contributed so I decided to do it just right now.
- Its really getting annoying seeing all these "Free Skidded Exploits" and expose threads.
- Ok I know you came for the script not for my toughts of v3rm so here you are:
- ### Edit - Just made this into a GUI, This is my first GUI so don't blame me if its really bad.
- Tried my best.
- [code]-- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- local TextButton_3 = Instance.new("TextLabel")
- local TextButton_4 = Instance.new("TextLabel")
- local backpack = Instance.new("TextBox")
- local toolname = Instance.new("TextBox")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.32480818, 0, 0.365612656, 0)
- Frame.Size = UDim2.new(0, 356, 0, 274)
- Frame.Active = true
- Frame.Draggable = true
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(0.184314, 0.470588, 1)
- Frame_2.BorderSizePixel = 0
- Frame_2.Size = UDim2.new(0, 356, 0, 12)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.184314, 0.470588, 1)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.219101131, 0, 0.110486895, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 42)
- TextButton.Font = Enum.Font.SourceSansLight
- TextButton.FontSize = Enum.FontSize.Size28
- TextButton.Text = "Enable auto farm"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 30
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.new(0.184314, 0.470588, 1)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.219101131, 0, 0.332724392, 0)
- TextButton_2.Size = UDim2.new(0, 200, 0, 42)
- TextButton_2.Font = Enum.Font.SourceSansLight
- TextButton_2.FontSize = Enum.FontSize.Size28
- TextButton_2.Text = "Disable auto farm"
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextSize = 30
- TextButton_3.Parent = Frame
- TextButton_3.BackgroundTransparency = 1
- TextButton_3.Position = UDim2.new(0.219101131, 0, 0.865231323, 0)
- TextButton_3.Size = UDim2.new(0, 200, 0, 42)
- TextButton_3.Font = Enum.Font.SourceSansLight
- TextButton_3.FontSize = Enum.FontSize.Size28
- TextButton_3.Text = "Made By Iallwaysgetafk"
- TextButton_3.TextColor3 = Color3.new(0, 0, 10)
- TextButton_3.TextSize = 25
- backpack.Parent = Frame
- backpack.BackgroundColor3 = Color3.new(0.184314, 0.470588, 1)
- backpack.BorderSizePixel = 0
- backpack.Position = UDim2.new(0.219101131, 0, 0.532724392, 0)
- backpack.Size = UDim2.new(0, 200, 0, 42)
- backpack.Font = Enum.Font.SourceSansLight
- backpack.FontSize = Enum.FontSize.Size28
- backpack.Text = "Backpack size"
- backpack.TextColor3 = Color3.new(1, 1, 1)
- backpack.TextSize = 30
- toolname.Parent = Frame
- toolname.BackgroundColor3 = Color3.new(0.184314, 0.470588, 1)
- toolname.BorderSizePixel = 0
- toolname.Position = UDim2.new(0.219101131, 0, 0.732724392, 0)
- toolname.Size = UDim2.new(0, 200, 0, 42)
- toolname.Font = Enum.Font.SourceSansLight
- toolname.FontSize = Enum.FontSize.Size28
- toolname.Text = "Tool name here"
- toolname.TextColor3 = Color3.new(1, 1, 1)
- toolname.TextSize = 30
- --~~Functions~~--
- local Event = game:GetService("ReplicatedStorage").Farm
- local Event = game:GetService("ReplicatedStorage").Farm
- local player = game.Players.LocalPlayer
- local sell = CFrame.new(Vector3.new(-65, 24, 118))
- local enabled = false
- TextButton.MouseButton1Down:connect(function()
- if enabled == false then
- enabled = true
- local Tool = tostring(toolname.Text)
- local backpacksize = tonumber(backpack.Text)
- if player.bagAmount.Value < backpacksize then
- for i, v in next, game:GetService("Workspace").Grass:GetChildren() do
- for i,y in pairs(v:GetChildren()) do
- if y.Name == "Grass" then
- if enabled == true then
- if player.bagAmount.Value >= backpacksize then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = sell
- wait(3)
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = y.CFrame
- wait()
- Event:FireServer(y, Tool)
- end
- end
- end
- end
- wait()
- end
- end
- end)
- TextButton_2.MouseButton1Down:connect(function()
- enabled = false
- print("Disabled")
- end)
- [/code]
- Instructions are simple edit the ENTER HERE things in the GUI.
- and don't execute while having a full backpack.
- If you have any suggestions how this script could be improved, plese leave it in the comments, because I still want to learn from some of you, proffesionals.
- Game Link : https://www.roblox.com/games/1356800077/CODE-Yard-Work-Simulator#!/about
- [/quote]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement