Sounds like a good thing. If you are using any form of sleep in a script, you’ve almost certainly screwed up. (Though there are cases where it is reasonable in a dedicated background thread. Use java’s Thread.sleep() for such cases.)
Do you have a project script library that’s literally called time? That looks like a namespace collision, not an import error; the object being referenced (that’s cut off) is probably a ProjectScriptModule.