Advertisement
Ihaveashortname

pet simulator 2 gui

Dec 1st, 2019
20,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. game.StarterGui:SetCore("SendNotification", {
  2. Title = "Pet Simulator 2"; -- the title (ofc)
  3. Text = "Hey, this script is not fully done expect bugs."; -- what the text says (ofc)
  4. Duration = 10; -- how long the notification should in secounds
  5. })
  6.  
  7.  
  8. -- Instances:
  9.  
  10. local BorkHubUI = Instance.new("ScreenGui")
  11. local BorderUI = Instance.new("Frame")
  12. local MainUI = Instance.new("Frame")
  13. local SplitterLine = Instance.new("Frame")
  14. local Creator = Instance.new("TextLabel")
  15. local UpdateLogTitle = Instance.new("TextLabel")
  16. local Title = Instance.new("TextLabel")
  17. local Farm1 = Instance.new("TextButton")
  18. local Farm2 = Instance.new("TextButton")
  19.  
  20. --[[
  21. Properties:
  22. --]]
  23.  
  24. BorkHubUI.Name = "BorkHubUI"
  25. BorkHubUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  26. BorkHubUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27. BorkHubUI.ResetOnSpawn = false
  28.  
  29. BorderUI.Name = "BorderUI"
  30. BorderUI.Parent = BorkHubUI
  31. BorderUI.Active = true
  32. BorderUI.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  33. BorderUI.BorderColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  34. BorderUI.Position = UDim2.new(0.402785718, 0, 0.602902412, 0)
  35. BorderUI.Size = UDim2.new(0, 366, 0, 25)
  36.  
  37. MainUI.Name = "MainUI"
  38. MainUI.Parent = BorderUI
  39. MainUI.Active = true
  40. MainUI.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  41. MainUI.BorderColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  42. MainUI.Position = UDim2.new(-0.00102459081, 0, 0.965910673, 0)
  43. MainUI.Size = UDim2.new(1, 0, 5.40000105, 0)
  44.  
  45. SplitterLine.Name = "SplitterLine"
  46. SplitterLine.Parent = MainUI
  47. SplitterLine.Active = true
  48. SplitterLine.BackgroundColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  49. SplitterLine.BorderSizePixel = 0
  50. SplitterLine.Position = UDim2.new(0.991803288, 0, 0, 0)
  51. SplitterLine.Size = UDim2.new(0.00499999989, 0, 0.948148131, 0)
  52.  
  53. Creator.Name = "Creator"
  54. Creator.Parent = MainUI
  55. Creator.Active = true
  56. Creator.BackgroundColor3 = Color3.new(1, 1, 1)
  57. Creator.BackgroundTransparency = 1
  58. Creator.BorderSizePixel = 0
  59. Creator.Position = UDim2.new(0.245901614, 0, 0.0850700885, 0)
  60. Creator.Size = UDim2.new(0.505464494, 0, 0.144559503, 0)
  61. Creator.Font = Enum.Font.GothamSemibold
  62. Creator.Text = "Made By: StayWithMeSenpai"
  63. Creator.TextColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  64. Creator.TextSize = 14
  65.  
  66. UpdateLogTitle.Name = "UpdateLogTitle"
  67. UpdateLogTitle.Parent = MainUI
  68. UpdateLogTitle.Active = true
  69. UpdateLogTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  70. UpdateLogTitle.BackgroundTransparency = 1
  71. UpdateLogTitle.BorderSizePixel = 0
  72. UpdateLogTitle.Position = UDim2.new(0.195013672, 0, 0.851851881, 0)
  73. UpdateLogTitle.Size = UDim2.new(0.6109972, 0, 0.148147687, 0)
  74. UpdateLogTitle.Font = Enum.Font.SourceSans
  75. UpdateLogTitle.Text = "Last Updated | 12/1/2019"
  76. UpdateLogTitle.TextColor3 = Color3.new(0.258824, 0.552941, 0.815686)
  77. UpdateLogTitle.TextSize = 14
  78.  
  79. Title.Name = "Title"
  80. Title.Parent = MainUI
  81. Title.Active = true
  82. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  83. Title.BackgroundTransparency = 1
  84. Title.BorderSizePixel = 0
  85. Title.Position = UDim2.new(0, 0, -0.207407355, 0)
  86. Title.Size = UDim2.new(1.0010246, 0, 0.2296298, 0)
  87. Title.Font = Enum.Font.GothamSemibold
  88. Title.Text = "Pet Simulator 2"
  89. Title.TextColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  90. Title.TextSize = 14
  91.  
  92. Farm1.Name = "Farm1"
  93. Farm1.Parent = MainUI
  94. Farm1.BackgroundColor3 = Color3.new(0, 0, 0)
  95. Farm1.BackgroundTransparency = 0.80000001192093
  96. Farm1.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
  97. Farm1.Position = UDim2.new(0.169558138, 0, 0.432424217, 0)
  98. Farm1.Size = UDim2.new(0, 64, 0, 18)
  99. Farm1.Font = Enum.Font.SourceSans
  100. Farm1.Text = "Press 1st"
  101. Farm1.TextColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  102. Farm1.TextSize = 14
  103. Farm1.MouseButton1Click:connect(function()
  104. _G.d = true
  105. while _G.d == true and wait() do
  106. for i,d in pairs(game:GetService("Workspace")["__THINGS"].Coins:GetChildren()) do
  107. if _G.d == true then
  108. game:GetService("ReplicatedStorage").Framework.Modules["2 | Signal"].Events["select coin"]:Fire(d)
  109. repeat
  110. wait()
  111. until not _G.d or d.Settings.Health == 0 or not d
  112. end
  113. end
  114. end
  115. end)
  116.  
  117. Farm2.Name = "Farm2"
  118. Farm2.Parent = MainUI
  119. Farm2.BackgroundColor3 = Color3.new(0, 0, 0)
  120. Farm2.BackgroundTransparency = 0.80000001192093
  121. Farm2.BorderColor3 = Color3.new(0.368627, 0.576471, 0.72549)
  122. Farm2.Position = UDim2.new(0.628574491, 0, 0.432424217, 0)
  123. Farm2.Size = UDim2.new(0, 64, 0, 18)
  124. Farm2.Font = Enum.Font.SourceSans
  125. Farm2.Text = "Press 2nd"
  126. Farm2.TextColor3 = Color3.new(0.266667, 0.584314, 0.862745)
  127. Farm2.TextSize = 14
  128. Farm2.MouseButton1Click:connect(function()
  129. while wait() do
  130. for i,d in pairs(game:GetService("Workspace")["__THINGS"].Drops:GetChildren()) do
  131. for f = 1,5 do
  132. local oh1 = { { d.Name, "id"..f }, { false, false } }
  133. game:GetService("Workspace")["__THINGS"]["__REMOTES"]["take drop"]:FireServer(oh1)
  134. end
  135. end
  136. end
  137. end)
  138.  
  139. --[[
  140. Scripts:
  141. --]]
  142.  
  143. local function MVQF_fake_script() -- BorderUI.Script
  144. local script = Instance.new('Script', BorderUI)
  145.  
  146. --//ALL CREDITS GO TO Google Chrome\\--
  147.  
  148. local players = game:service('Players');
  149. local player = players.LocalPlayer;
  150. local mouse = player:GetMouse();
  151. local run = game:service('RunService');
  152. local stepped = run.Stepped;
  153. draggable = function(obj)
  154. spawn(function()
  155. obj.Active = true;
  156. local minitial;
  157. local initial;
  158. local isdragging;
  159. obj.InputBegan:Connect(function(input)
  160. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  161. isdragging = true;
  162. minitial = input.Position;
  163. initial = obj.Position;
  164. local con;
  165. con = stepped:Connect(function()
  166. if isdragging then
  167. local delta = Vector3.new(mouse.X, mouse.Y, 0) - minitial;
  168. obj.Position = UDim2.new(initial.X.Scale, initial.X.Offset + delta.X, initial.Y.Scale, initial.Y.Offset + delta.Y);
  169. else
  170. con:Disconnect();
  171. end;
  172. end);
  173. input.Changed:Connect(function()
  174. if input.UserInputState == Enum.UserInputState.End then
  175. isdragging = false;
  176. end;
  177. end);
  178. end;
  179. end);
  180. end)
  181. end;
  182.  
  183. draggable(script.Parent)
  184. end
  185. coroutine.wrap(MVQF_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement