Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why doesn't this shirt changing script work?

I'm trying to change a player's shirt to the shirt id below right when they join. The code below is in a localscript inside StarterPlayerScripts.

The script just takes away the current user's shirt but doesn't replace it with the id below, only showing the players base colors.

wait(1)
script.Parent.Parent.Character["Shirt"].ShirtTemplate = "http://www.roblox.com/asset/?id=230178938"

Could someone please tell me how I fix this or if there is another way to do this?

Thanks.

1 answer

✓ Accepted answer

When on putting the shirt ID, did you subtract one?

wait(1)
script.Parent.Parent.Character["Shirt"].ShirtTemplate = "http://www.roblox.com/asset/?id=230178937" --subtract one to the ID-- 

This discussion is preserved as it was. New answers, comments, and votes are closed.