I want to make this line of code better looking or just a better way in general of doing this.
if Value.ClassName == "Accessory" and Value.Name ~= "One" and Value.Name ~= "Two" and Value.Name ~= "Three" then
-- code
end
Its a checker to see if a player is wearing hats and if the hat names aren’t the specified names then delete the hat.
The and statements just don’t sit right with me