Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function FindLocal(Name)
- for I,V in pairs(getgc()) do
- if type(V) == "function" and not is_synapse_function(V) then
- for I2,V2 in pairs(debug.getupvalues(V)) do
- if I2 == Name then return V2 end
- end
- end
- end
- end
- local Network = FindLocal("Network")
- while true do
- Network:FireServer("BlowBubble")
- wait(0.1)
- local BubbleAmounts = string.split(game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.StatsFrame.Bubble.Amount.Text, "/")
- local CurrentBubbles = tonumber(BubbleAmounts[1])
- local MaxBubbles = tonumber(BubbleAmounts[2])
- if CurrentBubbles >= MaxBubbles then
- Network:FireServer("Teleport", "Sell")
- Network:FireServer("SellBubble", "Sell")
- end
- wait(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement