SetTimeout Function but with Milliseconds

JustAnotherNinja
10 Feb 2020, 00:31

Hey, I am completely new to this, so please excuse me if the answer is obvious.

I want something identical to SetTimeout, but where I can input milliseconds rather than seconds. Writing decimals doesn't work.

I also want to run a whole bunch of code inside of it, similar to how you can put miles of code inside of a single SetTimeout function, so janky solutions might not work right.

Thank you!