Advertisement
jokianeee

Untitled

May 8th, 2019
9,036
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. while wait() do
  2. for ,v in pairs(game:GetService("Workspace").Ghosts:GetChildren()) do
  3.  
  4. if v:FindFirstChild("Body") ~= nil and (v.Body.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 100 then
  5. for ,c in pairs(game:GetService("ReplicatedStorage").GhostEntries:GetDescendants()) do
  6. if c.Name == 'GhostName' then
  7. if c.Value == v.Name then
  8. if c.Parent.Parent.Stats.AntennaLevel.Value <= game.Players.LocalPlayer.Stats.AntennaLevel.Value then
  9.  
  10. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Body.CFrame
  11. wait(.2)
  12. local A_1 = v
  13. local Event = game:GetService("ReplicatedStorage").Network.ToServer.Requests.VacuumEnemy
  14. Event:FireServer(A1)
  15. repeat
  16. wait()
  17. game.Workspace.ScriptParts.EctoplasmConverters.Converter.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  18. for ,v in pairs(game.Workspace.Drops:GetChildren()) do
  19. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  20. end
  21. until v:FindFirstChild("Body") == nil
  22. end;end;end;end;end;end;end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement