In part of my ServerScript, I want script to destroy the Shirt inside the player's character, if they have a shirt in their character. The script is, like I said, a ServerScript found inside the player's character.
local char = script.Parent
if char:FindFirstChild("Shirt") ~= nil then
char:FindFirstChild("Shirt"):Destroy()
end
After running the code stated above, nothing happens. Can someone please help me?

2 comments
No problems with the code itself that you're posted. How do you get the script into the player's character?
Via StarterCharacterScripts.