Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. --You will need a Autoclicker for this.
  2. --Change "Evil Majin" to the Monster you want to fight
  3. _G.target = "Goku"
  4.  
  5. _G.targets = {""}
  6.  
  7. while wait() do
  8. if _G.target ~= "" then
  9. for _,v in pairs(workspace.Live:GetChildren()) do
  10. if v and v.Name ~= game.Players.LocalPlayer.Name and not game.Players:GetPlayerFromCharacter(v) and string.match(string.lower(v.Name), string.lower(_G.target)) and v:FindFirstChild("HumanoidRootPart") then
  11. print(v.Name)
  12. repeat
  13. wait()
  14. workspace.Live:WaitForChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame = CFrame.new(v.HumanoidRootPart.Position + Vector3.new(0,0,2))
  15. workspace.CurrentCamera.CFrame = CFrame.new(workspace.Live:WaitForChild(game.Players.LocalPlayer.Name).HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  16. until v.Humanoid.Health < 1
  17. v:Destroy()
  18. end
  19. end
  20. else
  21. for _,v in pairs(workspace.Live:GetChildren()) do
  22. for _,vv in pairs(_G.targets) do
  23. if not game.Players:GetPlayerFromCharacter(v) and string.match(string.lower(v.Name), string.lower(vv)) and v:FindFirstChild("HumanoidRootPart") then
  24. print(v.Name)
  25. repeat
  26. wait()
  27. workspace.Live:WaitForChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame = CFrame.new(v.HumanoidRootPart.Position + Vector3.new(0,0,2))
  28. workspace.CurrentCamera.CFrame = CFrame.new(workspace.Live:WaitForChild(game.Players.LocalPlayer.Name).HumanoidRootPart.Position, v.HumanoidRootPart.Position)
  29. until v.Humanoid.Health < 1
  30. v:Destroy()
  31. end
  32. end
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement