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

Roblox Studio clothes not changing when I input a new ID?

Asked by 4 years ago

I'm working on updating an outfit of an NPC in my game. The clothes won't update, though.

Here's a picture of the output it gives me.

https://imgur.com/a/oVBmPGZ

All I'm doing is putting in a new clothing item ID under "shirt" For the mannequin. I've done this before and it worked fine, but I haven't updated in almost a year. I've tried different shirt IDs as well, random ones from the catalog and it still doesn't update and gives the NPC a transparent shirt.

1 answer

Log in to vote
0
Answered by
jwklong 32
4 years ago
Edited 4 years ago

Try pre-loading the assets

game:GetService('ContentProvider'):PreloadAsync({id1, id2, id3}) --Replace the id's with the actual id
0
https://imgur.com/a/3VpWJmP Here's a link to the entire output log on my studio.. I've tried using ID's that are on front page of the catalog thinking it might just be my own IDs aren't ready to be put in a game yet. (i.e not checked by a moderator yet) SobbingSabah 6 — 4y
0
That is not the correct way of using :PreloadAsync, PreloadAsync takes a table of instances and loads them birds3345 177 — 4y
0
Then how? jwklong 32 — 4y
View all comments (2 more)
0
I didn't write the script, someone made the store for me and scripted everything them self (to the best of my knowledge), I don't have contact with them anymore since they made it over 2 years ago. It's been working perfect up until recently. SobbingSabah 6 — 4y
0
I just tried loading a few assets in, firstly they didn't load but then all of the assets did, try waiting for the assets to load for about a minute and if it works, the question is solved. jwklong 32 — 4y
Ad

Answer this question