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

Asset ID's help ?

Asked by
Voltoxus 248 Moderation Voter
10 years ago

How do I find out if a shirt Id uses -1 or -2 to find the asset? when loading a shirt into a shirt template in game via script

2 answers

Log in to vote
1
Answered by 10 years ago

You mean like this?

Workspace.Player.Shirt.Texture = "http://www.roblox.com/asset/?id=" --Insert shirt asset ID

If you're asking how to find the actual ID of the asset, just keep subtracting 1 from the ID until it works fine. There's no actual way to tell. Otherwise, I don't know what else you're asking.

If you have any other problems, feel free to inbox me.

~Kyo-Chan

0
Note that you can just use "rbxassetid://1234" instead of the long address. User#11893 186 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

If you want to find the shird ID, go to the link of the shirt and subtract 1 from the last number in the ID. The number you are keft with is the shirt template.

Example:

12345678 - ID of the shirt in the link 12345677 - Shirt template ID

Answer this question