Nothing shows in the output. I thought about doing a .Changed but I don't know how to apply it.
It is a normal script in a TextButton
local Player = script.Parent.Parent.Parent.Parent.Parent
function onClick()
script.Parent.Parent.Visible = false
Player.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=261394422"
Player.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=261394385"
end
script.Parent.MouseButton1Click:connect(onClick)

1 comment
Thanks! But now the clothes are only visible to that player.