Create a new Scheduler object
Scheduler.new(loopTime)
Example usage:
local Scheduler = Stellar.Get("Scheduler") local counterScheduler = Scheduler.new(5) counterScheduler:Tick(function() print("test") end) counterScheduler:Start()
Last updated 6 months ago