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

[SOLVED] My random shirt picker script doesn't work, any help ?

Asked by 5 years ago
Edited 5 years ago
local random = {"382538059", "398635081", "144076358", "382538059", } -- Shirt Selection
script.Parent.ShirtTemplate = "http://www.roblox.com/asset/?id="..random[math.random(1,#random)] -- Picks one of the 4 shirts
-- Shoutouts to Daemonophobia

My scrpt is supposed to pick randomly a shirt, and then put it to a humanoid, but it doesn't show. And i don't know if it's the script.Parent.ShirtTemplate = "http://www.roblox.com/asset/?id=" that is the problem.

0
Did you check if the Shirt is actually there before trying to change the ID? DeveloPatter 23 — 5y
0
It's already solved Cioss_Team 14 — 5y

Answer this question