of     1   

Dad_Bot
#220033238Thursday, June 29, 2017 3:20 PM GMT

How would you reference a negative output. For example, if I were trying to reference a clothing's ID number, how would I make it so if the ID minus 1 doesn't work, I would be able to check that it didn't work by detecting a negative output. Then once the negative output it tries the ID minus 2, then 3 and so on until the item's texture is on display?
HlKMAT
#220033847Thursday, June 29, 2017 3:29 PM GMT

you don't need to put the asset id of clothing or decals. roblox will automatically do it for you, just put the normal id number.
Dad_Bot
#220033978Thursday, June 29, 2017 3:32 PM GMT

I would do that but the user is inputting the number into a screengui and for some reason it does not work with just the regular id.
HlKMAT
#220034098Thursday, June 29, 2017 3:34 PM GMT

local Asset = game:GetService("MarketplaceService"):GetProductInfo(PUT ID HERE) print(Asset.AssetId) you can use this as well
Dad_Bot
#220034121Thursday, June 29, 2017 3:35 PM GMT

I will try that. Thank you!
HlKMAT
#220034143Thursday, June 29, 2017 3:35 PM GMT

Dad_Bot
#220034446Thursday, June 29, 2017 3:41 PM GMT

I got the error "Unable to cast string to int"
HlKMAT
#220034490Thursday, June 29, 2017 3:42 PM GMT

which line
Dad_Bot
#220034698Thursday, June 29, 2017 3:46 PM GMT

I fixed that error message but the item ID for the texture is staying as the regular shirt ID. It is not automatically finding the texture.
HlKMAT
#220034858Thursday, June 29, 2017 3:49 PM GMT

yes, i noticed that as well. you can use this concept to fix it when a player enters the regular id in the textbox, then clicks a button to submit his id, it would store that id inside a value. then, it would change the id of his shirt/pants to rbxassetid:// .. IDValue.Value
Dad_Bot
#220035049Thursday, June 29, 2017 3:53 PM GMT

That is exactly what I have down. :P game.Workspace.MannequinAd01.Model.Shirt.ShirtTemplate ="rbxassetid://"..Asset.AssetId It still does not want to work.
HlKMAT
#220035320Thursday, June 29, 2017 3:59 PM GMT

yes, that's why i told you to store it inside an int value then reference it
Dad_Bot
#220035741Thursday, June 29, 2017 4:07 PM GMT

I did that but it didn't change anything

    of     1