Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local Frametop = Instance.new("Frame")
- local Frame = Instance.new("Frame")
- local yuqii8688 = Instance.new("TextLabel")
- local TextLabel = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local AutoFarm = Instance.new("TextButton")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = ScreenGui
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.Position = UDim2.new(0, 0, 0.409628391, 0)
- OpenFrame.Size = UDim2.new(0, 74, 0, 18)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(0.596078, 0.282353, 0.905882)
- Open.BorderSizePixel = 0
- Open.Size = UDim2.new(0, 74, 0, 18)
- Open.Font = Enum.Font.GothamBlack
- Open.Text = "Open "
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextSize = 10
- Open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
- Main.BackgroundTransparency = 0.20000000298023
- Main.Position = UDim2.new(0.473585427, 0, 0.1875, 0)
- Main.Size = UDim2.new(0, 242, 0, 234)
- Main.Visible = false
- Main.Draggable = true
- Frametop.Name = "Frame top "
- Frametop.Parent = Main
- Frametop.BackgroundColor3 = Color3.new(0, 0, 0)
- Frametop.Position = UDim2.new(0, 0, -0.00255095656, 0)
- Frametop.Size = UDim2.new(0, 242, 0, 30)
- Frame.Parent = Main
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.Position = UDim2.new(0, 0, 0.921398342, 0)
- Frame.Size = UDim2.new(0, 242, 0, 30)
- yuqii8688.Name = "♥ yuqii ♥#8688"
- yuqii8688.Parent = Frame
- yuqii8688.BackgroundColor3 = Color3.new(0, 0, 0)
- yuqii8688.BorderColor3 = Color3.new(0, 0, 0)
- yuqii8688.Position = UDim2.new(0.108695649, 0, 0.401754767, 0)
- yuqii8688.Size = UDim2.new(0, 120, 0, 18)
- yuqii8688.Font = Enum.Font.Highway
- yuqii8688.Text = "Credits: ♥ yuqii ♥#8688"
- yuqii8688.TextColor3 = Color3.new(1, 1, 1)
- yuqii8688.TextSize = 13
- TextLabel.Parent = Main
- TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel.Position = UDim2.new(0.10824655, 0, 1.16415322e-09, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 29)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = "Pet Simulator 2 "
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(0, 0, 0)
- Close.BorderColor3 = Color3.new(0, 0, 0)
- Close.Position = UDim2.new(0.861809611, 0, 0, 0)
- Close.Size = UDim2.new(0, 33, 0, 28)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextSize = 14
- Close.MouseButton1Down:connect(function()
- OpenFrame.Visible = true
- Main.Visible = false
- end)
- AutoFarm.Name = "AutoFarm"
- AutoFarm.Parent = Main
- AutoFarm.BackgroundColor3 = Color3.new(0.231373, 0.227451, 0.231373)
- AutoFarm.BorderColor3 = Color3.new(0.227451, 0.223529, 0.227451)
- AutoFarm.Position = UDim2.new(0, 0, 0.192307696, 0)
- AutoFarm.Size = UDim2.new(0, 241, 0, 18)
- AutoFarm.Font = Enum.Font.SourceSans
- AutoFarm.Text = "AutoFarm*OnlyForPetSimulator2*"
- AutoFarm.TextColor3 = Color3.new(0, 0, 0)
- AutoFarm.TextSize = 14
- AutoFarm.MouseButton1Down:connect(function()
- local maxhp = 9e+18
- local minhp = 100
- game.Workspace['__THINGS'].Drops.ChildAdded:Connect(function()
- for i , v in pairs(game.Workspace['__THINGS'].Drops:GetChildren()) do
- for r = 0 , 8 , 1 do
- local oh1 = { {v.Name, "id"..r }, { false, false } }
- game:GetService("Workspace")["__THINGS"]["__REMOTES"]["take drop"]:FireServer(oh1)
- end
- end
- end)
- local RunService = game:GetService("RunService")
- while true do
- RunService.Heartbeat:wait()
- for num,coin in pairs(game.workspace['__THINGS'].Coins:GetChildren()) do
- if coin:FindFirstChild("Settings") ~= nil and coin.Settings.Health.Value <= maxhp and coin.Settings.Health.Value >= minhp then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+2,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- for i , c in pairs(game.Players.LocalPlayer.PlayerGui.Inventory.Frame.Container.Holder.Pets:GetChildren()) do
- if c:FindFirstChild("Equipped") ~= nil and c.Equipped.Visible == true then
- workspace.__THINGS.__REMOTES:FindFirstChild"join coin":InvokeServer({{coin.Name,c.Name},{false,false}})
- workspace.__THINGS.__REMOTES:FindFirstChild"change pet target":FireServer({{c.Name,"Coin",coin.Name},{false,false,false}})
- for i = 0 , 50 , 1 do
- workspace.__THINGS.__REMOTES:FindFirstChild"farm coin":FireServer({{coin.Name,c.Name},{false,false}})
- end
- end
- end
- repeat
- pcall(function ()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+2,0)
- game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
- end)
- RunService.Heartbeat:wait()
- until game.workspace['__THINGS'].Coins:FindFirstChild(coin.Name) == nil or game.workspace['__THINGS'].Coins:FindFirstChild(coin.Name):FindFirstChild("POS") == nil or game.Players.LocalPlayer.Character == nil or coin == nil
- end
- end
- end
- end)
- TextButton.Parent = Main
- TextButton.BackgroundColor3 = Color3.new(0.227451, 0.223529, 0.227451)
- TextButton.BorderColor3 = Color3.new(0.231373, 0.227451, 0.231373)
- TextButton.Position = UDim2.new(0, 0, 0.311965823, 0)
- TextButton.Size = UDim2.new(0, 240, 0, 18)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Owl Hub*For Other Games*"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton.MouseButton1Down:connect(function()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt"))();
- end)
- TextButton_2.Parent = Main
- TextButton_2.BackgroundColor3 = Color3.new(0.235294, 0.231373, 0.235294)
- TextButton_2.BorderColor3 = Color3.new(0.227451, 0.223529, 0.227451)
- TextButton_2.Position = UDim2.new(0, 0, 0.388888896, 0)
- TextButton_2.Size = UDim2.new(0, 242, 0, 13)
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = "yesa YESA YESA YESA YESA YESA"
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment