MIC UP Script | ALL HATS

Created by skyr3x

Features:

  • ALL HATS
local RemoveOldHats = false -- remove old accessories?
local whitelist = {"hat to keep","some other accessory to keep"} -- exact name of hats to keep


local lp = game:GetService("Players").LocalPlayer
local ch = lp.Character
local hrp = ch:WaitForChild("HumanoidRootPart")

if RemoveOldHats then
   for i,v in pairs(ch:GetChildren()) do
       if v:IsA("Accessory") and not table.find(whitelist, v.Name) then
           v:Destroy()
       end
   end
end

for i,v in pairs(workspace:GetChildren()) do
   if v:IsA("BasePart") and v:FindFirstChild("TouchInterest") and not v:FindFirstChild("shading") then
       firetouchinterest(hrp,v,0)
       firetouchinterest(hrp,v,1)
   end
end