Hello, I am requesting feedback on a new module I made. It is very simple, and function nearly the same as wait(). The key difference is when using wait() without any number inside of it, it will go with the smallest number possible, whereas in yield(), it will use RunService’s Heartbeat, which is usually 3 times faster. Also, there is an option for a second parameter, where you can input a start time. It only accepts os.clock(), so be careful not to use tick(). The startTime will be used when counting how long to wait.
Actually, upon further inspection, the yield module seems to win every time. Check this place out for proof, then go to ServerScriptService>Event>Controller, and change the number there to test it.
Any feedback is appreciated.
yieldTest.rbxl (40.4 KB)