Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Waiting for Assets?

Asked by 8 years ago

I have a game, loaded with custom GUI (ImageLabels) and sometimes they don't show up, or take time to show up. Is their a way to load the assets faster or do something to make it wait for the assets to load before?

I have looked at this Wiki but my assets don't have an ID, I loaded them from Studio, and so they don't have an asset ID in the ImageLabels Image

1 answer

Log in to vote
2
Answered by 8 years ago

You were on the right track when you checked out the wiki for the preload. But you stopped there since you thought your ImageLabels don't have an AssetID. They actually do. Go to your Decals. You'll find images you uploaded from studio in there. You can either replace the ImageID with the ID in there and then preload with that ID, or try to preload with the local ID, which I don't think will work, but you could try.

If you're confused, I can edit this to add in a snippet for a better demonstration

Good luck with your future Scripting Adventures! ~lightpower26

0
Very sorry, I read the question wrong as I thought he was wondering why when he uploads an image in studio it takes a sec to load. silly me heh Idk how I read it but I read it like that. because of this I will delete my answer. Hero_ic 502 — 8y
Ad

Answer this question