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

I'm trying to make a character customization but the shirt will not load. Please help?

Here is the script to apply the shirt to my character, and here is the error:

'7:28:19.517 - Image "https://web.roblox.com/catalog/584186378" failed to load in "Workspace.Aquarius_Raverus.Humanoid.Clothes": Request failed'

Here is my script:

script.Parent.CustomizationFrame.Page1.Shirt.MouseButton1Click:Connect(function()
	for i,v in pairs(script.Parent.CustomizationFrame.Shirts:GetChildren()) do
		v.Visible = true
		v.MouseButton1Click:Connect(function()
			if player2 ~= nil then
				player2:FindFirstChild('Shirt').ShirtTemplate = "https://web.roblox.com/catalog/"..v.Value.Value 
			end
		end)
	end
end)

If this is not enough information, feel free to respond to what you need to help me figure this out.

5 comments

0

What is the Value you are using in line 6 ? Try using this 584186375, this is the source of the image, not the actual shirt itself

0

The value I'm using at line 6 is actually the shirt code, not the image label image value.

0

If all else fails, wear the shirt on your player model, insert your players character model into studio, then just copy that shirt on your character.

0

Oh yea, and don't use that web.roblox.com string, its not the right syntax, heres the correct one: http://www.roblox.com/asset/?id=

0

Neither works, but thanks for trying. Still looking for the answer.

1 answer

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