of     1   

Laedere
#201886585Saturday, November 19, 2016 4:34 AM GMT

Since ROBLOX decided to change the class name of hats, a lot of hat removing scripts don't work anymore. Here's a fix. https://www.roblox.com/item.aspx?id=550027922
Laedere
#201886734Saturday, November 19, 2016 4:36 AM GMT

b
FriendlyBiscuit
#201887188Saturday, November 19, 2016 4:44 AM GMT

1) CTRL - H 2) Find: ":IsA("Hat") 3) Replace: ":IsA("Accessory") 4) ENTER fixed
FriendlyBiscuit
#201887279Saturday, November 19, 2016 4:45 AM GMT

ignore the first " on 2 and 3 because i wanted to quote it but changed my mind but forgot to remove like... you know... the quotation marks
Laedere
#201887293Saturday, November 19, 2016 4:46 AM GMT

Be quiet noob or I'll report you
ClanAtlas
#201887851Saturday, November 19, 2016 4:56 AM GMT

repeat wait(1) for i,v in pairs(game.Workspace:GetChildren())do coroutine.wrap(function() if v.className=='Hat'or v.className=='Tool'or v.className=='Accessory'then v:Destroy(); end; end)(); end; wait(1) until nil
Laedere
#201887889Saturday, November 19, 2016 4:57 AM GMT

or you can just do a child.added to avoid an infite loop lol
Praefor
#201887993Saturday, November 19, 2016 4:59 AM GMT

ClanAtlas have you heard of these cool things called events?
ClanAtlas
#201888226Saturday, November 19, 2016 5:03 AM GMT

i set it to 1 since i had it defaulted to 60 since its for my game just a clean up script for anybody who needs it that just works
elite6247
#201888279Saturday, November 19, 2016 5:04 AM GMT

Clan you forgot to unban :/
ClanAtlas
#201888314Saturday, November 19, 2016 5:04 AM GMT

oh sry i have kidney stones so im on more code dean than lil wayne give me like 2 minutes @elite
elite6247
#201888388Saturday, November 19, 2016 5:06 AM GMT

👌
NigPatriot
#201888678Saturday, November 19, 2016 5:12 AM GMT

game.Workspace.ChildAdded:connect(function(h) repeat wait(.33) until h ~= nil if h:isA("Accessory") then h:Destroy() end end)
FriendlyBiscuit
#201895836Saturday, November 19, 2016 7:52 AM GMT

stop arbitrarily waiting 1/3rd of a second and just call wait() without an argument. does the same thing lol.

    of     1