Сontent continues after AD

Script – Dungeon Raiders

Thank you for using our website
Your script:

				
					loadstring(game:HttpGet("https://gist.githubusercontent.com/MjContiga1/ae3ff9d408113578484793ba85e87182/raw/07eed1eb36d633a099ad2e7358a3dde6c8e33278/Dungeons%2520v4.lua"))()

local player = game:GetService("Players").LocalPlayer
local retryButton = player.PlayerGui:WaitForChild("RetryGui"):WaitForChild("RetryFrame"):WaitForChild("RetryButton")
local timerLabel = player.PlayerGui:WaitForChild("RetryGui"):WaitForChild("RetryFrame"):WaitForChild("TimerLabel")
local retryEvent = game:GetService("ReplicatedStorage"):WaitForChild("RetryEvent")


local autoRetry = true 

local previousTime = nil

spawn(function()
    while autoRetry do
        local currentText = timerLabel.Text -- e.g., "10s"
        local currentTime = tonumber(currentText:match("(%d+)")) 

        if previousTime then
            if previousTime == 10 and currentTime == 9 then
                if retryButton.BackgroundColor3 ~= Color3.fromRGB(0, 127, 0) then
                    retryEvent:FireServer()
                    retryButton.BackgroundColor3 = Color3.fromRGB(0, 127, 0) 
                end
            end
        end

        previousTime = currentTime
        wait(0.05)
    end
end)
				
			

if the script does not work, try other scripts on our website