Advertisement
NMM

PopItSimulatorGUIScript

NMM
Jul 31st, 2021
3,209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. -- Script for https://www.roblox.com/games/6944686471
  2. -- By 69k_#1943 & joe swanson#1234
  3.  
  4. local pops = game:GetService("Players").LocalPlayer.PlayerGui.Main.Frame.Pops.Pops.Text
  5. function doshit(obj, state)
  6. if state then
  7. game.Players.LocalPlayer.Character:MoveTo(obj.Position)
  8. end
  9. end
  10. local getreal = false
  11. local temp = pops:split("/")
  12. local amt = temp[1]
  13. local maxamt = temp[2]
  14. print(unpack(temp))
  15. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  16. local Window = Library.CreateLib("POP IT SIMULATOR | 69k_#1943 ", "Ocean")
  17. local Tab = Window:NewTab("Farm")
  18. local Section = Tab:NewSection("Auto Farm")
  19. Section:NewToggle("Enable", "Enable The AutoFarm", function(state)
  20. if state then
  21. state = true
  22. getreal = true
  23. while getreal do
  24. wait()
  25. repeat for i,v in pairs(game:GetService("Workspace").PopIts.PurpleBox.Main:GetChildren()) do
  26. if v:IsA("Part") and v.TouchInterest and v.Transparency ~= 1 and getreal then
  27. pops = game:GetService("Players").LocalPlayer.PlayerGui.Main.Frame.Pops.Pops.Text
  28. temp = pops:split("/")
  29. amt = temp[1]
  30. maxamt = temp[2]
  31. doshit(v, state)
  32. print(amt, maxamt, state)
  33. end
  34. wait(0.1)
  35. end; wait() until amt == maxamt
  36. print("Finished")
  37. doshit(game:GetService("Workspace").Triggers.Sell, state)
  38. wait(.1)
  39. end
  40. else
  41. state = false
  42. getreal = false
  43. end
  44. end)
  45. local getreal2 = false
  46. local Section2 = Tab:NewSection("OP Auto Farm (69k_#1943)")
  47. Section2:NewToggle("Enable", "Enable The AutoFarm", function(state2)
  48. if state2 then
  49. state2 = true
  50. getreal2 = true
  51. while getreal2 do
  52. wait()
  53. repeat for i,v in pairs(workspace.PopIts:GetDescendants()) do
  54. if v:IsA("TouchTransmitter") then
  55. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 0) --0 is touch
  56. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 1) -- 1 is untouch
  57. wait()
  58. end
  59. end; wait() until amt == maxamt
  60. print("Finished")
  61. doshit(game:GetService("Workspace").Triggers.Sell, state2)
  62. wait(.1)
  63. end
  64. else
  65. state2 = false
  66. getreal2 = false
  67. end
  68. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement