Roblox Script | ANTI LAYERED CLOTHING CRASH

f7c9f2a9f31bf5748c52fa1087126828a5333ac8.png

Created by cli

Features:

  • ANTI LAYERED CLOTHING CRASH
-- Anti Layered Clothing crash
-- Clears appearance whenever a motor is destroyed

local Players = game:GetService'Players'

function PlayerAdded(Player)
   if Player == Players.LocalPlayer then return end

   local Connection, Warned
   local function CharacterAdded(Character)
       if Connection then Connection:Disconnect() end
       Warned = false
       Connection = Character.DescendantRemoving:Connect(function(w)
           if w:isA'Motor6D' and w.Part0.Parent == Character and w.Part1.Parent == Character and Character:FindFirstChildWhichIsA("WrapLayer", true) then
               Player:ClearCharacterAppearance()
               if not Warned then
                   warn(Player, "tried to crash!")
                   Warned = true
               end
           end
       end)
   end
   if Player.Character then task.spawn(CharacterAdded, Player.Character) end

   Player.CharacterAdded:Connect(CharacterAdded)
end

for _, Player in pairs(Players:GetPlayers()) do
   task.spawn(PlayerAdded, Player)
end

Players.PlayerAdded:Connect(PlayerAdded)
-- Anti Layered Clothing crash
-- Removes layered clothing alltogether

local Players = game:GetService'Players'

function DescendantAdded(inst)
   if inst:isA'WrapLayer' then
       task.wait()
       inst.Parent:Destroy()
   end
end

function CharacterAdded(Character)
   for i,v in pairs(Character:GetDescendants()) do task.spawn(DescendantAdded, v) end
   Character.DescendantAdded:Connect(DescendantAdded)
end

function PlayerAdded(Player)
   if Player == Players.LocalPlayer then return end
   
   if Player.Character then task.spawn(CharacterAdded, Player.Character) end
   Player.CharacterAdded:Connect(CharacterAdded)
end

for i,v in pairs(Players:GetPlayers()) do task.spawn(PlayerAdded, v) end
Players.PlayerAdded:Connect(PlayerAdded)

 

ENJOY!

 

Warning: DO NOT DOWNLOAD anything from this page, you’re only here to copy the script or Get it from Pastebin!

About Us

What is arponag.xyz? arponag.xyz is a website focused on releasing safe exploits, we only release the best and most trusted exploits on our website, guaranteed to satisfy you. Contact us [email protected]

Safety

Is this safe to use? Everything on the website has been scanned and tested by professionals and the community, we only release the best exploits for our users, so we make sure that our exploits won’t harm your devices, everything here is clean.

Copyright © 2018 – 2020 Arpon AG | All rights reserved |
Privacy Policy | Terms of Service