Hello! I am working on a shirt id thing, but it doesn't seem to work. It takes the id from the TextBox, puts it in the player's shirt, but the shirt doesn't pop up. I'm confused on how to fix this. Code:
script.parent.MouseButton1Down:connect(function()
local player = game.Players.LocalPlayer
rbxassetthing = "rbxassetid://"
EditShirtID = script.Parent.Parent.EditShirtID
player.Character.Shirt.ShirtTemplate = rbxassetthing .. EditShirtID.Text
end)

3 comments
is it a local script. Also I would try changing
parenttoParenton the first line.yes, it is a local script.
I would try changing 'MouseButton1Down' to 'MouseButton1Clicked' on the first line.