Advertisement
quan22111

King piece

Jan 7th, 2020
4,563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  2. local w = library:CreateWindow('King Piece')
  3. local t = w:Toggle("Autofarm", {flag = "toggle1"})
  4. local d = w:Dropdown("Mobs",{
  5. location = _G;
  6. flag = mob;
  7. list = {
  8. "Marine [Lv. 1]";
  9. "Buggy Pirate [Lv. 10]";
  10. "The Clown [Lv. 25]";
  11. "Tashi [Lv. 30]";
  12. }
  13. }, function(new)
  14. npc = new
  15. end)
  16. spawn(function()
  17. while wait()do
  18. if w.flags.toggle1 then
  19. local tool = game.Players.LocalPlayer.Backpack:FindFirstChildOfClass("Tool") or game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  20. for i,v in pairs(game.Workspace:GetChildren())do
  21. if v.Name == npc then
  22. if v:FindFirstChild("Head") then
  23. v.HumanoidRootPart.Size = Vector3.new(30,50,30)
  24. v.HumanoidRootPart.Transparency = 0.5
  25. v.HumanoidRootPart.CanCollide = false
  26. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  27. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
  28. tool:Activate()
  29. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  30. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,20,0)
  31. end
  32. end
  33. end
  34. end
  35. end
  36. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement