Advertisement
x83

bubble gum simulator auto blow

x83
Dec 15th, 2019
1,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. local function FindLocal(Name)
  2. for I,V in pairs(getgc()) do
  3. if type(V) == "function" and not is_synapse_function(V) then
  4. for I2,V2 in pairs(debug.getupvalues(V)) do
  5. if I2 == Name then return V2 end
  6. end
  7. end
  8. end
  9. end
  10.  
  11. local Network = FindLocal("Network")
  12.  
  13. while true do
  14. Network:FireServer("BlowBubble")
  15.  
  16. wait(0.1)
  17.  
  18. local BubbleAmounts = string.split(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.StatsFrame.Bubble.Amount.Text, "/")
  19. local CurrentBubbles = tonumber(BubbleAmounts[1])
  20. local MaxBubbles = tonumber(BubbleAmounts[2])
  21.  
  22. if CurrentBubbles >= MaxBubbles then
  23. Network:FireServer("Teleport", "Sell")
  24. Network:FireServer("SellBubble", "Sell")
  25. end
  26.  
  27. wait(0.1)
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement