The onClientResourceStart event is triggered when a resource is started clientside, if you use getResourceRootElement() as the source it will trigger if for the resource containing your script, in other words right after the localplayer has finished downloading his resources.