Created
October 8, 2021 04:41
-
-
Save keldin-coding/6e126cf51d7791ef065c2ae45b0f531a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mercerTable = mercerTable or {} | |
function mercerTable.whatTheTimerDoes() | |
local sound1 = HoweverSoundsWork() | |
play(sound1) | |
end | |
function mercerTable.makeATimer() | |
if type(mercerTable.thisCoolTimer) == "number" then | |
killTimer(mercerTable.thisCoolTimer) | |
end | |
mercerTable.thisCoolTimer = tempTimer(0.1, whatTheTimerDoes) | |
end | |
function cleanupTheTimer | |
---- some alias | |
"do whatever cool stuff" | |
mercerTable.makeATimer() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment