eren2481

eeee

Feb 10th, 2020
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.61 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local OpenFrame = Instance.new("Frame")
  8. local Open = Instance.new("TextButton")
  9. local Main = Instance.new("Frame")
  10. local Frametop = Instance.new("Frame")
  11. local Frame = Instance.new("Frame")
  12. local yuqii8688 = Instance.new("TextLabel")
  13. local TextLabel = Instance.new("TextLabel")
  14. local Close = Instance.new("TextButton")
  15. local AutoFarm = Instance.new("TextButton")
  16. local TextButton = Instance.new("TextButton")
  17. local TextButton_2 = Instance.new("TextButton")
  18.  
  19. --Properties:
  20.  
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22.  
  23. OpenFrame.Name = "OpenFrame"
  24. OpenFrame.Parent = ScreenGui
  25. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  26. OpenFrame.Position = UDim2.new(0, 0, 0.409628391, 0)
  27. OpenFrame.Size = UDim2.new(0, 74, 0, 18)
  28.  
  29. Open.Name = "Open"
  30. Open.Parent = OpenFrame
  31. Open.BackgroundColor3 = Color3.new(0.596078, 0.282353, 0.905882)
  32. Open.BorderSizePixel = 0
  33. Open.Size = UDim2.new(0, 74, 0, 18)
  34. Open.Font = Enum.Font.GothamBlack
  35. Open.Text = "Open "
  36. Open.TextColor3 = Color3.new(0, 0, 0)
  37. Open.TextSize = 10
  38. Open.MouseButton1Down:connect(function()
  39. Main.Visible = true
  40. OpenFrame.Visible = false
  41. end)
  42.  
  43. Main.Name = "Main"
  44. Main.Parent = ScreenGui
  45. Main.Active = true
  46. Main.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  47. Main.BackgroundTransparency = 0.20000000298023
  48. Main.Position = UDim2.new(0.473585427, 0, 0.1875, 0)
  49. Main.Size = UDim2.new(0, 242, 0, 234)
  50. Main.Visible = false
  51. Main.Draggable = true
  52.  
  53. Frametop.Name = "Frame top "
  54. Frametop.Parent = Main
  55. Frametop.BackgroundColor3 = Color3.new(0, 0, 0)
  56. Frametop.Position = UDim2.new(0, 0, -0.00255095656, 0)
  57. Frametop.Size = UDim2.new(0, 242, 0, 30)
  58.  
  59. Frame.Parent = Main
  60. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  61. Frame.Position = UDim2.new(0, 0, 0.921398342, 0)
  62. Frame.Size = UDim2.new(0, 242, 0, 30)
  63.  
  64. yuqii8688.Name = "♥ yuqii ♥#8688"
  65. yuqii8688.Parent = Frame
  66. yuqii8688.BackgroundColor3 = Color3.new(0, 0, 0)
  67. yuqii8688.BorderColor3 = Color3.new(0, 0, 0)
  68. yuqii8688.Position = UDim2.new(0.108695649, 0, 0.401754767, 0)
  69. yuqii8688.Size = UDim2.new(0, 120, 0, 18)
  70. yuqii8688.Font = Enum.Font.Highway
  71. yuqii8688.Text = "Credits: ♥ yuqii ♥#8688"
  72. yuqii8688.TextColor3 = Color3.new(1, 1, 1)
  73. yuqii8688.TextSize = 13
  74.  
  75. TextLabel.Parent = Main
  76. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  77. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  78. TextLabel.Position = UDim2.new(0.10824655, 0, 1.16415322e-09, 0)
  79. TextLabel.Size = UDim2.new(0, 200, 0, 29)
  80. TextLabel.Font = Enum.Font.SciFi
  81. TextLabel.Text = "Pet Simulator 2 "
  82. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  83. TextLabel.TextSize = 14
  84.  
  85. Close.Name = "Close"
  86. Close.Parent = Main
  87. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  88. Close.BorderColor3 = Color3.new(0, 0, 0)
  89. Close.Position = UDim2.new(0.861809611, 0, 0, 0)
  90. Close.Size = UDim2.new(0, 33, 0, 28)
  91. Close.Font = Enum.Font.SourceSans
  92. Close.Text = "X"
  93. Close.TextColor3 = Color3.new(1, 1, 1)
  94. Close.TextSize = 14
  95. Close.MouseButton1Down:connect(function()
  96. OpenFrame.Visible = true
  97. Main.Visible = false
  98. end)
  99.  
  100. AutoFarm.Name = "AutoFarm"
  101. AutoFarm.Parent = Main
  102. AutoFarm.BackgroundColor3 = Color3.new(0.231373, 0.227451, 0.231373)
  103. AutoFarm.BorderColor3 = Color3.new(0.227451, 0.223529, 0.227451)
  104. AutoFarm.Position = UDim2.new(0, 0, 0.192307696, 0)
  105. AutoFarm.Size = UDim2.new(0, 241, 0, 18)
  106. AutoFarm.Font = Enum.Font.SourceSans
  107. AutoFarm.Text = "AutoFarm*OnlyForPetSimulator2*"
  108. AutoFarm.TextColor3 = Color3.new(0, 0, 0)
  109. AutoFarm.TextSize = 14
  110. AutoFarm.MouseButton1Down:connect(function()
  111. local maxhp = 9e+18
  112. local minhp = 100
  113. game.Workspace['__THINGS'].Drops.ChildAdded:Connect(function()
  114. for i , v in pairs(game.Workspace['__THINGS'].Drops:GetChildren()) do
  115. for r = 0 , 8 , 1 do
  116. local oh1 = { {v.Name, "id"..r }, { false, false } }
  117. game:GetService("Workspace")["__THINGS"]["__REMOTES"]["take drop"]:FireServer(oh1)
  118. end
  119. end
  120. end)
  121. local RunService = game:GetService("RunService")
  122. while true do
  123. RunService.Heartbeat:wait()
  124. for num,coin in pairs(game.workspace['__THINGS'].Coins:GetChildren()) do
  125. if coin:FindFirstChild("Settings") ~= nil and coin.Settings.Health.Value <= maxhp and coin.Settings.Health.Value >= minhp then
  126. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+2,0)
  127. game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  128. for i , c in pairs(game.Players.LocalPlayer.PlayerGui.Inventory.Frame.Container.Holder.Pets:GetChildren()) do
  129. if c:FindFirstChild("Equipped") ~= nil and c.Equipped.Visible == true then
  130. workspace.__THINGS.__REMOTES:FindFirstChild"join coin":InvokeServer({{coin.Name,c.Name},{false,false}})
  131. workspace.__THINGS.__REMOTES:FindFirstChild"change pet target":FireServer({{c.Name,"Coin",coin.Name},{false,false,false}})
  132. for i = 0 , 50 , 1 do
  133. workspace.__THINGS.__REMOTES:FindFirstChild"farm coin":FireServer({{coin.Name,c.Name},{false,false}})
  134. end
  135. end
  136. end
  137. repeat
  138. pcall(function ()
  139. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coin.POS.CFrame + Vector3.new(0,9e+2,0)
  140. game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  141. end)
  142. RunService.Heartbeat:wait()
  143. 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
  144. end
  145. end
  146. end
  147. end)
  148.  
  149. TextButton.Parent = Main
  150. TextButton.BackgroundColor3 = Color3.new(0.227451, 0.223529, 0.227451)
  151. TextButton.BorderColor3 = Color3.new(0.231373, 0.227451, 0.231373)
  152. TextButton.Position = UDim2.new(0, 0, 0.311965823, 0)
  153. TextButton.Size = UDim2.new(0, 240, 0, 18)
  154. TextButton.Font = Enum.Font.SourceSans
  155. TextButton.Text = "Owl Hub*For Other Games*"
  156. TextButton.TextColor3 = Color3.new(0, 0, 0)
  157. TextButton.TextSize = 14
  158. TextButton.MouseButton1Down:connect(function()
  159. loadstring(game:HttpGet("https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt"))();
  160. end)
  161.  
  162. TextButton_2.Parent = Main
  163. TextButton_2.BackgroundColor3 = Color3.new(0.235294, 0.231373, 0.235294)
  164. TextButton_2.BorderColor3 = Color3.new(0.227451, 0.223529, 0.227451)
  165. TextButton_2.Position = UDim2.new(0, 0, 0.388888896, 0)
  166. TextButton_2.Size = UDim2.new(0, 242, 0, 13)
  167. TextButton_2.Font = Enum.Font.SourceSans
  168. TextButton_2.Text = "yesa YESA YESA YESA YESA YESA"
  169. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  170. TextButton_2.TextSize = 14
Advertisement
Add Comment
Please, Sign In to add comment