--BROUGHT TO YOU BY RobloxScripter.com!--
local engine = loadstring(game:HttpGet("https://raw.githubusercontent.com/Singularity5490/rbimgui-2/main/rbimgui-2.lua"))()
local MainWindow = engine.new({
text = "Main",
size = UDim2.new(300, 200),
})
MainWindow.open()
-- game link: https://www.roblox.com/games/9498006165/Tapping-Simulator
local Farm = MainWindow.new({
text = "Autofarm",
})
local switch1 = Farm.new("switch", {
text = "Tap Auto";
})
switch1.set(false)
switch1.event:Connect(function(bool)
getgenv().autoTap = bool
doTap()
end)
local switch2 = Farm.new("switch", {
text = "Rebirth Auto";
})
switch2.set(false)
switch2.event:Connect(function(bool)
getgenv().autoRebirth = bool
doRebirth()
end)
getgenv().autoTap = false
getgenv().autoRebirth = false
function doTap()
spawn(function()
while autoTap == true do
game:GetService("ReplicatedStorage").Events.Tap:FireServer("Main")
wait()
end
end)
end
function doRebirth()
spawn(function()
while autoRebirth == true do
game:GetService("ReplicatedStorage").Events.Rebirth:FireServer(1)
wait()
end
end)
end