Timer
Calls a function after a given time.
Constructors
Creates a Timer.
-- prints "2 seconds" each 2 seconds local myTimer = Timer(2.0, true, function() print("2 seconds") end) local callback = function() Player.Velocity.Y = 50 end -- after 5 seconds the Player will jump local myTimer2 = Timer(5.0, callback)
Functions
Properties
Time remaining before the function is called.