Advertisement
Upscalefanatic3

Ghost Simulator Script

May 5th, 2019
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.94 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Gui = Instance.new("ScreenGui")
  5. local Staffs = Instance.new("Frame")
  6. local frame = Instance.new("Frame")
  7. local logo = Instance.new("TextLabel")
  8. local board = Instance.new("TextButton")
  9. local title = Instance.new("TextLabel")
  10. local version = Instance.new("TextLabel")
  11. local text = Instance.new("TextLabel")
  12. local text_2 = Instance.new("TextLabel")
  13. local magnet = Instance.new("TextButton")
  14. local unbox = Instance.new("TextButton")
  15. local _100 = Instance.new("TextButton")
  16. local autofarm = Instance.new("TextButton")
  17. --Properties:
  18. Gui.Name = "Gui"
  19. Gui.Parent = game.CoreGui
  20. Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21. local Openn = true
  22. local b = Instance.new("BlurEffect")
  23. b.Parent = game:GetService("Lighting")
  24. b.Size = 24 -- Lower is less blur and higher is more.
  25. local mouse1 = game.Players.LocalPlayer:GetMouse()
  26. mouse1.KeyDown:connect(function(key)
  27. if key == "g" then
  28. if Openn == true then
  29. Openn = false
  30. Staffs.Visible = false
  31. b.Enabled = false
  32. else
  33. Openn = true
  34. Staffs.Visible = true
  35. b.Enabled = true
  36. end
  37. end
  38. end)
  39.  
  40. board.MouseButton1Click:connect(function()
  41. game.Players.LocalPlayer.Stats.BoardsUnlocked.Value = true
  42. end)
  43. magnet.MouseButton1Click:connect(function()
  44. game.Players.LocalPlayer.Stats.MagnetismUnlocked.Value = true
  45. end)
  46. unbox.MouseButton1Click:connect(function()
  47. game.Players.LocalPlayer.Stats.AppliedPasses.QuickUnbox.Value = true
  48. end)
  49. _100.MouseButton1Click:connect(function()
  50. game.Players.LocalPlayer.Stats.GemDropFactor.Value = 9999999999999999999
  51. end)
  52. autofarm.MouseButton1Click:connect(function()
  53. _G.Farm = true
  54. while _G.Farm == true do
  55. wait()
  56. local tbl_main =
  57. {
  58. }
  59. game:GetService("ReplicatedStorage").Network.ToServer.Requests.StartUseVacuum:FireServer(unpack(tbl_main))
  60.  
  61. for _,v in pairs(game:GetService("Workspace").Ghosts:GetChildren()) do
  62.  
  63. if v:FindFirstChild("Body") ~= nil and (v.Body.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 100 then
  64. for _,c in pairs(game:GetService("ReplicatedStorage").GhostEntries:GetDescendants()) do
  65. if c.Name == 'GhostName' then
  66. if c.Value == v.Name then
  67. if c.Parent.Parent.Stats.AntennaLevel.Value <= game.Players.LocalPlayer.Stats.AntennaLevel.Value then
  68.  
  69. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Body.CFrame
  70. wait(.2)
  71. local A_1 = v
  72. local Event = game:GetService("ReplicatedStorage").Network.ToServer.Requests.VacuumEnemy
  73. Event:FireServer(A_1)
  74. repeat
  75. wait()
  76. game.Workspace.ScriptParts.EctoplasmConverters.Converter.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  77. for _,v in pairs(game.Workspace.Drops:GetChildren()) do
  78. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  79. end
  80. until v:FindFirstChild("Body") == nil
  81. end;end;end;end;end;end;end
  82. end)
  83.  
  84. Staffs.Active = true
  85. Staffs.Draggable = true
  86.  
  87.  
  88. Staffs.Name = "Staffs"
  89. Staffs.Parent = Gui
  90. Staffs.BackgroundColor3 = Color3.new(0.992157, 0.992157, 0)
  91. Staffs.BorderSizePixel = 0
  92. Staffs.Position = UDim2.new(0.344439626, 0, 0.359647989, 0)
  93. Staffs.Size = UDim2.new(0, 313, 0, 15)
  94.  
  95. frame.Name = "frame"
  96. frame.Parent = Staffs
  97. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  98. frame.BackgroundTransparency = 0.55000001192093
  99. frame.BorderSizePixel = 0
  100. frame.Position = UDim2.new(0.00178259704, 0, 1, 0)
  101. frame.Size = UDim2.new(0, 311, 0, 129)
  102.  
  103. logo.Name = "logo"
  104. logo.Parent = frame
  105. logo.BackgroundColor3 = Color3.new(1, 1, 1)
  106. logo.BackgroundTransparency = 1
  107. logo.Position = UDim2.new(0.610320926, 0, 0.996940017, 0)
  108. logo.Size = UDim2.new(0, 121, 0, 28)
  109. logo.Font = Enum.Font.SourceSansBold
  110. logo.Text = "[ WeAreSafe]"
  111. logo.TextColor3 = Color3.new(1, 1, 1)
  112. logo.TextSize = 25
  113. logo.TextWrapped = true
  114. logo.TextXAlignment = Enum.TextXAlignment.Right
  115.  
  116. board.Name = "board"
  117. board.Parent = frame
  118. board.BackgroundColor3 = Color3.new(1, 1, 1)
  119. board.BackgroundTransparency = 1
  120. board.Position = UDim2.new(0.0646756813, 0, 0.0486654527, 0)
  121. board.Size = UDim2.new(0, 122, 0, 18)
  122. board.Font = Enum.Font.ArialBold
  123. board.Text = ">Unlock Board"
  124. board.TextColor3 = Color3.new(1, 1, 1)
  125. board.TextScaled = true
  126. board.TextSize = 25
  127. board.TextWrapped = true
  128. board.TextXAlignment = Enum.TextXAlignment.Left
  129.  
  130. title.Name = "title"
  131. title.Parent = frame
  132. title.BackgroundColor3 = Color3.new(1, 1, 1)
  133. title.BackgroundTransparency = 1
  134. title.Position = UDim2.new(-0.00179406069, 0, -0.407716125, 0)
  135. title.Size = UDim2.new(0, 266, 0, 37)
  136. title.Font = Enum.Font.SourceSansBold
  137. title.Text = "GHOST SIMULATOR GUI"
  138. title.TextColor3 = Color3.new(1, 1, 1)
  139. title.TextSize = 30
  140. title.TextWrapped = true
  141. title.TextXAlignment = Enum.TextXAlignment.Right
  142.  
  143. version.Name = "version"
  144. version.Parent = frame
  145. version.BackgroundColor3 = Color3.new(1, 1, 1)
  146. version.BackgroundTransparency = 1
  147. version.Position = UDim2.new(0.823535562, 0, -0.283153832, 0)
  148. version.Size = UDim2.new(0, 46, 0, 14)
  149. version.Font = Enum.Font.SciFi
  150. version.Text = "V1.0"
  151. version.TextColor3 = Color3.new(1, 1, 1)
  152. version.TextSize = 25
  153. version.TextWrapped = true
  154. version.TextXAlignment = Enum.TextXAlignment.Right
  155.  
  156. text.Name = "text"
  157. text.Parent = frame
  158. text.BackgroundColor3 = Color3.new(1, 1, 1)
  159. text.BackgroundTransparency = 1
  160. text.Position = UDim2.new(0.538463533, 0, 0.0561337173, 0)
  161. text.Size = UDim2.new(0, 144, 0, 69)
  162. text.Font = Enum.Font.ArialBold
  163. text.Text = "Press \"h\" to open/close // Created by Typical_RBLX @youtube"
  164. text.TextColor3 = Color3.new(1, 1, 1)
  165. text.TextScaled = true
  166. text.TextSize = 25
  167. text.TextWrapped = true
  168.  
  169. text_2.Name = "text"
  170. text_2.Parent = frame
  171. text_2.BackgroundColor3 = Color3.new(1, 1, 1)
  172. text_2.BackgroundTransparency = 1
  173. text_2.Position = UDim2.new(0.496662915, 0, 0.837830782, 0)
  174. text_2.Size = UDim2.new(0, 147, 0, 20)
  175. text_2.Font = Enum.Font.ArialBold
  176. text_2.Text = "https://discord.gg/guayNvq"
  177. text_2.TextColor3 = Color3.new(1, 1, 1)
  178. text_2.TextScaled = true
  179. text_2.TextSize = 25
  180. text_2.TextWrapped = true
  181.  
  182. magnet.Name = "magnet"
  183. magnet.Parent = frame
  184. magnet.BackgroundColor3 = Color3.new(1, 1, 1)
  185. magnet.BackgroundTransparency = 1
  186. magnet.Position = UDim2.new(0.0646756813, 0, 0.185128808, 0)
  187. magnet.Size = UDim2.new(0, 122, 0, 18)
  188. magnet.Font = Enum.Font.ArialBold
  189. magnet.Text = ">Unlock Magnet"
  190. magnet.TextColor3 = Color3.new(1, 1, 1)
  191. magnet.TextScaled = true
  192. magnet.TextSize = 25
  193. magnet.TextWrapped = true
  194. magnet.TextXAlignment = Enum.TextXAlignment.Left
  195.  
  196. unbox.Name = "unbox"
  197. unbox.Parent = frame
  198. unbox.BackgroundColor3 = Color3.new(1, 1, 1)
  199. unbox.BackgroundTransparency = 1
  200. unbox.Position = UDim2.new(0.0646756813, 0, 0.321592182, 0)
  201. unbox.Size = UDim2.new(0, 114, 0, 18)
  202. unbox.Font = Enum.Font.ArialBold
  203. unbox.Text = ">Quick Unbox"
  204. unbox.TextColor3 = Color3.new(1, 1, 1)
  205. unbox.TextScaled = true
  206. unbox.TextSize = 25
  207. unbox.TextWrapped = true
  208. unbox.TextXAlignment = Enum.TextXAlignment.Left
  209.  
  210. _100.Name = "100"
  211. _100.Parent = frame
  212. _100.BackgroundColor3 = Color3.new(1, 1, 1)
  213. _100.BackgroundTransparency = 1
  214. _100.Position = UDim2.new(0.0646756813, 0, 0.458055556, 0)
  215. _100.Size = UDim2.new(0, 114, 0, 18)
  216. _100.Font = Enum.Font.ArialBold
  217. _100.Text = ">100% Drops"
  218. _100.TextColor3 = Color3.new(1, 1, 1)
  219. _100.TextScaled = true
  220. _100.TextSize = 25
  221. _100.TextWrapped = true
  222. _100.TextXAlignment = Enum.TextXAlignment.Left
  223.  
  224. autofarm.Name = "autofarm"
  225. autofarm.Parent = frame
  226. autofarm.BackgroundColor3 = Color3.new(1, 1, 1)
  227. autofarm.BackgroundTransparency = 1
  228. autofarm.Position = UDim2.new(0.0646756813, 0, 0.59451884, 0)
  229. autofarm.Size = UDim2.new(0, 88, 0, 18)
  230. autofarm.Font = Enum.Font.ArialBold
  231. autofarm.Text = ">AutoFarm"
  232. autofarm.TextColor3 = Color3.new(1, 1, 1)
  233. autofarm.TextScaled = true
  234. autofarm.TextSize = 25
  235. autofarm.TextWrapped = true
  236. autofarm.TextXAlignment = Enum.TextXAlignment.Left
  237. -- Scripts:
  238. function SCRIPT_LYZT71_FAKESCRIPT() -- title.LocalScript
  239. local script = Instance.new('LocalScript')
  240. script.Parent = title
  241. repeat
  242. for hue = 0, 1, .01 do
  243. script.Parent.Parent.title.TextColor3 = Color3.fromHSV(hue, 1, 1)
  244. wait(.1)
  245. end
  246. for hue = 1, 0 -.01 do
  247. script.Parent.Parent.title.TextColor3 = Color3.fromHSV(hue, 1, 1)
  248. wait(.1)
  249. end
  250. until nil
  251.  
  252. end
  253. coroutine.resume(coroutine.create(SCRIPT_LYZT71_FAKESCRIPT))
  254. function SCRIPT_HYUA72_FAKESCRIPT() -- Staffs.LocalScript
  255. local script = Instance.new('LocalScript')
  256. script.Parent = Staffs
  257. repeat
  258. for hue = 0, 1, .01 do
  259. script.Parent.Parent.Staffs.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  260. wait(.1)
  261. end
  262. for hue = 1, 0 -.01 do
  263. script.Parent.Parent.Staffs.BackgroundColor3 = Color3.fromHSV(hue, 1, 1)
  264. wait(.1)
  265. end
  266. until nil
  267.  
  268. end
  269. coroutine.resume(coroutine.create(SCRIPT_HYUA72_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement