Wait!
This content may be freely modified and/or maintained by anyone.

Average

just an average individual
Average submitted a new resource:

Wait! - they don't love you like I love you

A custom wait function In srb2! If you're too lazy to manually make a timer and decrease it every second, you can use this custom wait function

Wait:
local function Wait(seconds)
    local totalTics = seconds * TICRATE
    local currentTic = 0
    
    return function()
        currentTic = currentTic + 1
        if currentTic >= totalTics then
            return true
        end
        return false
    end
end
Basic Principles:
  1. The Wait function...

Read more about this resource...
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top