The `time()` method is still gone, but you can be use `Instant.now().getMillis()` (from jodatime) for the current time in scripts as well (calls to `System.<anything>` are blocked).