Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i make a script that removes tshirts ?

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

2 answers

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 

1 comment

0

that did not work =[

Ignore this, I miss understood the question.

1 comment

0

still not working D:

This discussion is preserved as it was. New answers, comments, and votes are closed.