Finatic

Ghost Simulator Auto Farm Script

May 4th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1.  
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("ImageLabel")
  4. local TextButton = Instance.new("ImageButton")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextLabel_2 = Instance.new("ImageLabel")
  7. local BorderPixel = Instance.new("ImageLabel")
  8. local TextLabel_3 = Instance.new("TextLabel")
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. Frame.Name = "Frame"
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundTransparency = 1
  15. Frame.BorderSizePixel = 0
  16. Frame.Position = UDim2.new(0, 127, 0, 243)
  17. Frame.Size = UDim2.new(0, 227, 0, 116)
  18. Frame.Image = "rbxassetid://1283904632"
  19. Frame.ImageColor3 = Color3.new(0.0784314, 0.709804, 0.341176)
  20. Frame.ScaleType = Enum.ScaleType.Slice
  21. Frame.SliceCenter = Rect.new(22, 22, 234, 234)
  22.  
  23. TextButton.Name = "TextButton"
  24. TextButton.Parent = Frame
  25. TextButton.BackgroundTransparency = 1
  26. TextButton.BorderSizePixel = 0
  27. TextButton.Position = UDim2.new(0, 0, 0, 61)
  28. TextButton.Size = UDim2.new(0, 227, 0, 54)
  29. TextButton.Image = "rbxassetid://1283904632"
  30. TextButton.ImageColor3 = Color3.new(0.0980392, 0.898039, 0.419608)
  31. TextButton.ScaleType = Enum.ScaleType.Slice
  32. TextButton.SliceCenter = Rect.new(22, 22, 234, 234)
  33.  
  34. TextLabel.Parent = TextButton
  35. TextLabel.AnchorPoint = Vector2.new(0, 0.5)
  36. TextLabel.BackgroundTransparency = 1
  37. TextLabel.Position = UDim2.new(0, 0, 0.5, 0)
  38. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  39. TextLabel.Font = Enum.Font.GothamBold
  40. TextLabel.Text = "START"
  41. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  42. TextLabel.TextScaled = true
  43. TextLabel.TextSize = 14
  44. TextLabel.TextWrapped = true
  45.  
  46. TextLabel_2.Name = "TextLabel"
  47. TextLabel_2.Parent = Frame
  48. TextLabel_2.BackgroundTransparency = 1
  49. TextLabel_2.BorderSizePixel = 0
  50. TextLabel_2.Size = UDim2.new(0, 227, 0, 61)
  51. TextLabel_2.ZIndex = 2
  52. TextLabel_2.Image = "rbxassetid://1283904632"
  53. TextLabel_2.ImageTransparency = 1
  54. TextLabel_2.ScaleType = Enum.ScaleType.Slice
  55. TextLabel_2.SliceCenter = Rect.new(22, 22, 234, 234)
  56.  
  57. BorderPixel.Name = "BorderPixel"
  58. BorderPixel.Parent = TextLabel_2
  59. BorderPixel.AnchorPoint = Vector2.new(0.5, 0.5)
  60. BorderPixel.BackgroundTransparency = 1
  61. BorderPixel.BorderSizePixel = 0
  62. BorderPixel.Position = UDim2.new(0.5, 0, 0.5, 0)
  63. BorderPixel.Size = UDim2.new(1, 2, 1, 2)
  64. BorderPixel.Image = "rbxassetid://1283904632"
  65. BorderPixel.ImageColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  66. BorderPixel.ImageTransparency = 1
  67. BorderPixel.ScaleType = Enum.ScaleType.Slice
  68. BorderPixel.SliceCenter = Rect.new(22, 22, 234, 234)
  69.  
  70. TextLabel_3.Parent = TextLabel_2
  71. TextLabel_3.AnchorPoint = Vector2.new(0, 0.5)
  72. TextLabel_3.BackgroundTransparency = 1
  73. TextLabel_3.Position = UDim2.new(0, 0, 0.5, 0)
  74. TextLabel_3.Size = UDim2.new(1, 0, 1, 0)
  75. TextLabel_3.ZIndex = 2
  76. TextLabel_3.Font = Enum.Font.GothamBold
  77. TextLabel_3.Text = "GHOST SIMULATOR AUTO FARM"
  78. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  79. TextLabel_3.TextScaled = true
  80. TextLabel_3.TextSize = 14
  81. TextLabel_3.TextWrapped = true
  82. function SCRIPT_QZVZ77_FAKESCRIPT() -- TextButton.LocalScript
  83. local script = Instance.new('LocalScript')
  84. script.Parent = TextButton
  85. local on = false
  86.  
  87.  
  88. script.Parent.MouseButton1Click:Connect(function()
  89. on = not on
  90. if on == true then
  91. if game.Players.LocalPlayer.Character:FindFirstChild("Vacuum").Active.Value == false then
  92. on = false
  93. script.Parent.TextLabel.Text ='Please equip your tool and try again'
  94. wait(5)
  95. script.Parent.TextLabel.Text = 'START'
  96. else
  97. script.Parent.TextLabel.Text = 'STOP'
  98. end
  99. else
  100. script.Parent.TextLabel.Text = 'START'
  101. end
  102. repeat
  103. wait()
  104. for _,v in pairs(game:GetService("Workspace").Ghosts:GetChildren()) do
  105.  
  106. if v:FindFirstChild("Body") ~= nil and (v.Body.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 100 then
  107. for _,c in pairs(game:GetService("ReplicatedStorage").GhostEntries:GetDescendants()) do
  108. if c.Name == 'GhostName' then
  109. if c.Value == v.Name then
  110. if c.Parent.Parent.Stats.AntennaLevel.Value <= game.Players.LocalPlayer.Stats.AntennaLevel.Value then
  111.  
  112. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Body.CFrame
  113. wait(.2)
  114. local A_1 = v
  115. local Event = game:GetService("ReplicatedStorage").Network.ToServer.Requests.VacuumEnemy
  116. Event:FireServer(A_1)
  117. repeat
  118. wait()
  119. game.Workspace.ScriptParts.EctoplasmConverters.Converter.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  120. for _,v in pairs(game.Workspace.Drops:GetChildren()) do
  121. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  122. end
  123. until v:FindFirstChild("Body") == nil
  124. end;end;end;end;end;end;
  125. until on == false
  126. end)
  127.  
  128. end
  129. coroutine.resume(coroutine.create(SCRIPT_QZVZ77_FAKESCRIPT))
  130. function SCRIPT_YSOJ67_FAKESCRIPT()
  131. local script = Instance.new('LocalScript')
  132. script.Parent = Frame
  133. script.Parent.Active =true
  134. script.Parent.Draggable = true
  135.  
  136. end
  137. coroutine.resume(coroutine.create(SCRIPT_YSOJ67_FAKESCRIPT))
Add Comment
Please, Sign In to add comment