local button = script.Parent
local shirtId = "rbxassetid://987654321"
button.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local shirt = character:FindFirstChild("Shirt")
if not shirt then
shirt = Instance.new("Shirt")
shirt.Parent = character
end
shirt.ShirtTemplate = shirtId
end)
it just deletes the shirt the player was wearing
** You are now Level 1! **