1.0.1 • Published 5 years ago
rbx-wait v1.0.1
rbx-wait
A better wait function for roblox-ts.
Examples
wait(0.03) // This is the lowest amount that you can wait with the default wait function.
import { wait } from "rbx-wait"
wait(0.015) // This is approximately the lowest that rbx-wait can wait for (1 frame).
Using rbx-wait with milliseconds
If you prefer a wait function more like setTimeout then you can try milliWait.
import { milliWait } from "rbx-wait"
milliWait(1000) // Will wait one second.