My attempt
shirts = {650162633} local randomshirt = math.random(1,#shirts) local clothing = script.Parent.Clothing clothing.ShirtTemplate = 'http://www.roblox.com/asset/?id=' ..randomshirt
You forgot to mention the table so it's shirts[randomshirt]
shirts = {650162633} local randomshirt = math.random(1,#shirts) local clothing = script.Parent.Clothing clothing.ShirtTemplate = 'http://www.roblox.com/asset/?id=' ..shirts[randomshirt]