Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local Frame_3 = Instance.new("ImageLabel")
- local X = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.Position = UDim2.new(0.380569011, 0, 0.363636374, 0)
- Frame.Size = UDim2.new(0, 467, 0, 295)
- Frame.Visible = false
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(0, 0, -0.254237294, 0)
- Frame_2.Size = UDim2.new(0, 467, 0, 44)
- ImageLabel.Parent = Frame
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.BorderSizePixel = 0
- ImageLabel.Position = UDim2.new(0, 0, -0.105084747, 0)
- ImageLabel.Size = UDim2.new(0, 467, 0, 320)
- ImageLabel.Image = "http://www.roblox.com/asset/?id=3501729250"
- ImageLabel.ImageColor3 = Color3.new(0.415686, 0.415686, 0.415686)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.145610273, 0, -0.2644068, 0)
- TextLabel.Size = UDim2.new(0, 330, 0, 50)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Pet Ranch Autofarm"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.261509627, 0, -0.023728814, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 41)
- TextButton.ZIndex = 2
- TextButton.Font = Enum.Font.Cartoon
- TextButton.Text = "Auto Farm: OFF"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- Frame_3.Name = "Frame"
- Frame_3.Parent = Frame
- Frame_3.AnchorPoint = Vector2.new(0.5, 0.5)
- Frame_3.BackgroundColor3 = Color3.new(0.407843, 0.407843, 0.407843)
- Frame_3.BackgroundTransparency = 1
- Frame_3.Position = UDim2.new(0.476579219, 0, 0.047457628, 0)
- Frame_3.Size = UDim2.new(0.430139184, 0, 0.196610138, 0)
- Frame_3.Image = "rbxassetid://2260429633"
- Frame_3.ImageColor3 = Color3.new(0.290196, 0.290196, 0.290196)
- Frame_3.ScaleType = Enum.ScaleType.Slice
- Frame_3.SliceCenter = Rect.new(12, 12, 13, 13)
- X.Name = "X"
- X.Parent = Frame
- X.BackgroundColor3 = Color3.new(1, 1, 1)
- X.BackgroundTransparency = 1
- X.Position = UDim2.new(0.732334018, 0, -0.26440677, 0)
- X.Size = UDim2.new(0, 200, 0, 50)
- X.Font = Enum.Font.Cartoon
- X.Text = "X"
- X.TextColor3 = Color3.new(1, 0, 0)
- X.TextScaled = true
- X.TextSize = 14
- X.TextWrapped = true
- TextButton_2.Parent = ScreenGui
- TextButton_2.BackgroundColor3 = Color3.new(0.372549, 0.372549, 0.372549)
- TextButton_2.BorderSizePixel = 0
- TextButton_2.Position = UDim2.new(0.0106183635, 0, 0.836609364, 0)
- TextButton_2.Size = UDim2.new(0, 200, 0, 50)
- TextButton_2.Font = Enum.Font.Cartoon
- TextButton_2.Text = "Open"
- TextButton_2.TextColor3 = Color3.new(1, 1, 1)
- TextButton_2.TextScaled = true
- TextButton_2.TextSize = 14
- TextButton_2.TextWrapped = true
- -- Scripts:
- function SCRIPT_IDXK82_FAKESCRIPT() -- ScreenGui.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = ScreenGui
- local Auto = script.Parent.Frame.TextButton
- local X = script.Parent.Frame.X
- local Open = script.Parent.TextButton
- local frame = script.Parent.Frame
- _G.AutoFarm = true
- local VirtualUser=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- Open.MouseButton1Click:Connect(function()
- frame.Visible = true
- end)
- X.MouseButton1Click:Connect(function()
- frame.Visible = false
- end)
- Auto.MouseButton1Click:Connect(function()
- if Auto.Text == "Auto Farm: OFF" then
- Auto.Text = "Auto Farm: ON"
- _G.AutoFarm = true
- else if Auto.Text == "Auto Farm: ON" then
- Auto.Text = "Auto Farm: OFF"
- _G.AutoFarm = false
- end
- end
- local Path = game.ReplicatedStorage.RemoteFunctions.MainRemoteFunction
- local Path2 = game.ReplicatedStorage.RemoteEvents.MainRemoteEvent
- local function Rebirth()
- Path:InvokeServer("RebirthPlayer",150)
- end
- local function eqUp()
- Path:InvokeServer("EquipTopPets")
- repeat
- Path:InvokeServer("UpgradeRanch",true)
- until game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.UpgradeRanchFrame.DragonCapAfter.Text == "Max Upgrade"
- Path:InvokeServer("EquipTopPets")
- end
- local function collectCoins()
- for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
- game:GetService("ReplicatedStorage").RemoteEvents.MainRemoteEvent:FireServer("CollectFriendship", v.Name)
- wait(.15)
- end
- end
- while _G.AutoFarm do
- collectCoins()
- Rebirth()
- eqUp()
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_IDXK82_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment