View difference between Paste ID: MGWtQVga and GAhcgvyM
SHOW: | | - or go back to the newest paste.
1-
function remhat(i,cb){
1+
for i,v in next, game:GetService('Players').LocalPlayer.Character:GetChildren() do
2-
	$.get("http://m.roblox.com/items/"+i).success(function(r){
2+
   if v:IsA('Accessory') then
3-
		var hold = $("<div>").html(r);
3+
       v:Destroy()
4-
		var x = {rvt:hold.find("*[name='__RequestVerificationToken']").val(),uaid:hold.find("#userAssetId").val()};
4+
   end
5-
		$.post("http://m.roblox.com/Catalog/WearOrRemoveItem",{wearing:false,userAssetId:x.uaid,__RequestVerificationToken:x.rvt});
5+
end