So i want to make a script that removes tshirt but i dont want it to remove the player's shirt/pants.
plyr = game.Player:WaitForChild("LocalPlayer") plyr.CharacterAdded:connect(function(char) if char.Torso and char.Torso:FindFirstChild("roblox") then char.Torso:FindFirstChild("roblox"):Destroy() end end
does not work :C
plyr = game.Player:WaitForChild("LocalPlayer") plyr.CharacterAdded:connect(function(char) if char.Torso and char.Torso:FindFirstChild("roblox") then char.Torso:FindFirstChild("roblox"):Destroy() end end) --your typo was not adding the parenthesis