ChaosityYT

Ghost Hunting Simulator GUI

Apr 16th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.14 KB | None | 0 0
  1.  
  2. local GhostATrash = Instance.new("ScreenGui")
  3. local Open = Instance.new("TextButton")
  4. local SecondGUI = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local Board = Instance.new("TextButton")
  7. local Magnet = Instance.new("TextButton")
  8. local Unbox = Instance.new("TextButton")
  9. local Drops = Instance.new("TextButton")
  10. local Start = Instance.new("TextButton")
  11. local TextLabel_2 = Instance.new("TextLabel")
  12. local TextLabel_3 = Instance.new("TextLabel")
  13. local TextLabel_4 = Instance.new("TextLabel")
  14. local Board_2 = Instance.new("TextButton")
  15.  
  16. GhostATrash.Name = "GhostATrash"
  17. GhostATrash.Parent = game.CoreGui
  18. GhostATrash.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19.  
  20. Open.Name = "Open"
  21. Open.Parent = GhostATrash
  22. Open.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  23. Open.BorderSizePixel = 0
  24. Open.Position = UDim2.new(0.0617298745, 0, 0.964695036, 0)
  25. Open.Size = UDim2.new(0, 95, 0, 37)
  26. Open.Visible = false
  27. Open.Font = Enum.Font.Cartoon
  28. Open.Text = "Open"
  29. Open.TextColor3 = Color3.new(1, 1, 1)
  30. Open.TextSize = 20
  31. Open.MouseButton1Click:connect (function ()
  32. SecondGUI.Visible = true
  33. Open.Visible = false
  34. end)
  35.  
  36. SecondGUI.Name = "Second GUI"
  37. SecondGUI.Parent = GhostATrash
  38. SecondGUI.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  39. SecondGUI.BorderSizePixel = 0
  40. SecondGUI.Position = UDim2.new(0.407031059, 0, 0.211302206, 0)
  41. SecondGUI.Size = UDim2.new(0, 142, 0, 305)
  42. SecondGUI.Active = true
  43. SecondGUI.Draggable = true
  44.  
  45. TextLabel.Parent = SecondGUI
  46. TextLabel.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  47. TextLabel.BackgroundTransparency = 0.03999999910593
  48. TextLabel.BorderSizePixel = 0
  49. TextLabel.Position = UDim2.new(-0.0733053759, 0, -0.0242610741, 0)
  50. TextLabel.Size = UDim2.new(0, 161, 0, 33)
  51. TextLabel.Font = Enum.Font.Cartoon
  52. TextLabel.Text = "Ghost-A-Trash"
  53. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  54. TextLabel.TextSize = 20
  55.  
  56. Board.Name = "Board"
  57. Board.Parent = SecondGUI
  58. Board.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  59. Board.BorderSizePixel = 0
  60. Board.Position = UDim2.new(0, 0, 0.193508998, 0)
  61. Board.Size = UDim2.new(0, 142, 0, 29)
  62. Board.Font = Enum.Font.Cartoon
  63. Board.Text = "Unlock Board"
  64. Board.TextColor3 = Color3.new(1, 1, 1)
  65. Board.TextSize = 17
  66. Board.MouseButton1Click:connect (function ()
  67. game.Players.LocalPlayer.Stats.BoardsUnlocked.Value = true
  68. end)
  69.  
  70. Magnet.Name = "Magnet"
  71. Magnet.Parent = SecondGUI
  72. Magnet.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  73. Magnet.BorderSizePixel = 0
  74. Magnet.Position = UDim2.new(0, 0, 0.285865158, 0)
  75. Magnet.Size = UDim2.new(0, 142, 0, 29)
  76. Magnet.Font = Enum.Font.Cartoon
  77. Magnet.Text = "Unlock Magnet"
  78. Magnet.TextColor3 = Color3.new(1, 1, 1)
  79. Magnet.TextSize = 17
  80. Magnet.MouseButton1Click:connect (function ()
  81. game.Players.LocalPlayer.Stats.MagnetismUnlocked.Value = true
  82. end)
  83.  
  84. Unbox.Name = "Unbox"
  85. Unbox.Parent = SecondGUI
  86. Unbox.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  87. Unbox.BorderSizePixel = 0
  88. Unbox.Position = UDim2.new(0, 0, 0.391336083, 0)
  89. Unbox.Size = UDim2.new(0, 142, 0, 29)
  90. Unbox.Font = Enum.Font.Cartoon
  91. Unbox.Text = "Quick Unbox"
  92. Unbox.TextColor3 = Color3.new(1, 1, 1)
  93. Unbox.TextSize = 17
  94. Unbox.MouseButton1Click:connect (function ()
  95. game.Players.LocalPlayer.Stats.AppliedPasses.QuickUnbox.Value = true
  96. end)
  97.  
  98. Drops.Name = "Drops"
  99. Drops.Parent = SecondGUI
  100. Drops.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  101. Drops.BorderSizePixel = 0
  102. Drops.Position = UDim2.new(0, 0, 0.483692259, 0)
  103. Drops.Size = UDim2.new(0, 142, 0, 29)
  104. Drops.Font = Enum.Font.Cartoon
  105. Drops.Text = "100% Drops"
  106. Drops.TextColor3 = Color3.new(1, 1, 1)
  107. Drops.TextSize = 17
  108. Drops.MouseButton1Click:connect (function ()
  109. game.Players.LocalPlayer.Stats.GemDropFactor.Value = 9999999999999999999
  110. end)
  111.  
  112. Start.Name = "Start"
  113. Start.Parent = SecondGUI
  114. Start.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  115. Start.BorderSizePixel = 0
  116. Start.Position = UDim2.new(0, 0, 0.751962721, 0)
  117. Start.Size = UDim2.new(0, 142, 0, 29)
  118. Start.Font = Enum.Font.Cartoon
  119. Start.Text = "Start"
  120. Start.TextColor3 = Color3.new(1, 1, 1)
  121. Start.TextSize = 17
  122. Start.MouseButton1Click:connect (function ()
  123. _G.Farm = true
  124. while _G.Farm == true do
  125. wait()
  126. local tbl_main =
  127. {
  128. }
  129. game:GetService("ReplicatedStorage").Network.ToServer.Requests.StartUseVacuum:FireServer(unpack(tbl_main))
  130.  
  131. for _,v in pairs(game:GetService("Workspace").Ghosts:GetChildren()) do
  132.  
  133. if v:FindFirstChild("Body") ~= nil and (v.Body.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 100 then
  134. for _,c in pairs(game:GetService("ReplicatedStorage").GhostEntries:GetDescendants()) do
  135. if c.Name == 'GhostName' then
  136. if c.Value == v.Name then
  137. if c.Parent.Parent.Stats.AntennaLevel.Value <= game.Players.LocalPlayer.Stats.AntennaLevel.Value then
  138.  
  139. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Body.CFrame
  140. wait(.2)
  141. local A_1 = v
  142. local Event = game:GetService("ReplicatedStorage").Network.ToServer.Requests.VacuumEnemy
  143. Event:FireServer(A_1)
  144. repeat
  145. wait()
  146. game.Workspace.ScriptParts.EctoplasmConverters.Converter.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  147. for _,v in pairs(game.Workspace.Drops:GetChildren()) do
  148. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  149. end
  150. until v:FindFirstChild("Body") == nil
  151. end;end;end;end;end;end;end
  152. end)
  153.  
  154. TextLabel_2.Parent = SecondGUI
  155. TextLabel_2.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  156. TextLabel_2.BackgroundTransparency = 99
  157. TextLabel_2.BorderSizePixel = 0
  158. TextLabel_2.Position = UDim2.new(0, 0, 0.0839356482, 0)
  159. TextLabel_2.Size = UDim2.new(0, 140, 0, 33)
  160. TextLabel_2.Font = Enum.Font.Cartoon
  161. TextLabel_2.Text = "Functions"
  162. TextLabel_2.TextColor3 = Color3.new(1, 0.780392, 0.419608)
  163. TextLabel_2.TextSize = 19
  164.  
  165. TextLabel_3.Parent = SecondGUI
  166. TextLabel_3.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  167. TextLabel_3.BackgroundTransparency = 99
  168. TextLabel_3.BorderSizePixel = 0
  169. TextLabel_3.Position = UDim2.new(0, 0, 0.641312659, 0)
  170. TextLabel_3.Size = UDim2.new(0, 140, 0, 33)
  171. TextLabel_3.Font = Enum.Font.Cartoon
  172. TextLabel_3.Text = "Auto-Farm"
  173. TextLabel_3.TextColor3 = Color3.new(1, 0.780392, 0.419608)
  174. TextLabel_3.TextSize = 19
  175.  
  176. TextLabel_4.Parent = SecondGUI
  177. TextLabel_4.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  178. TextLabel_4.BackgroundTransparency = 99
  179. TextLabel_4.BorderSizePixel = 0
  180. TextLabel_4.Position = UDim2.new(0, 0, 0.84459132, 0)
  181. TextLabel_4.Size = UDim2.new(0, 140, 0, 33)
  182. TextLabel_4.Font = Enum.Font.Cartoon
  183. TextLabel_4.Text = "Attacks Monsters in your area!"
  184. TextLabel_4.TextColor3 = Color3.new(0.670588, 1, 0.945098)
  185. TextLabel_4.TextSize = 15
  186. TextLabel_4.TextWrapped = true
  187.  
  188. Board_2.Name = "Board"
  189. Board_2.Parent = SecondGUI
  190. Board_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  191. Board_2.BorderSizePixel = 0
  192. Board_2.Position = UDim2.new(0, 0, 0.973836899, 0)
  193. Board_2.Size = UDim2.new(0, 142, 0, 14)
  194. Board_2.Font = Enum.Font.Cartoon
  195. Board_2.Text = "Close"
  196. Board_2.TextColor3 = Color3.new(1, 1, 1)
  197. Board_2.TextSize = 15
  198. Board_2.MouseButton1Click:connect (function()
  199. SecondGUI.Visible = false
  200. Open.Visible = true
  201. end)
Add Comment
Please, Sign In to add comment