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

The script won't make a new ShirtTemplate and there are no errors?

Asked by 6 years ago

I try running this script, but when I do there are no errors or anything in the output so I don't know what I'm doing wrong, please help thanks.

wait(3)
local player = game.Players.LocalPlayer
local char = player.Character

if player.char.Shirt == nil then
    local Shirt = Instance.new('Shirt', player.char)
    Shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id=144076357'
end
0
Also, for line 5, replace whats in that conditional with `not char:FindFirstChildOfClass('Shirt')` TheeDeathCaster 2368 — 6y

Answer this question