My script is supposed to check for deleted descendants of a character (yes I know about the roblox api to prevent char manipulation)
it runs once but after you try to delete a descendent again it just doesn’t work.
wait(2)
local char = game.Players.AmericanEagle124579.Character
local check_for = {
"Torso",
"HumanoidRootPart",
"LeftLeg",
"RightLeg",
"RightArm",
"LeftArm",
"Head",
"CuteBlush2Accessory",
"Fedora",
"Skiis",
"VoidAntlers",
"Ultra-Fabulous Hair",
"Vibe Check Baseball Bat",
"Gold Rectangle Shades",
"Shirt",
"Pants",
"Star Slayer Railgun";
}
local plrran = false
char.DescendantRemoving:Connect(function(ChildRemoved)
if table.find(check_for, ChildRemoved.Name) and ChildRemoved:IsDescendantOf(char) then
if not plrran then
game.Players.AmericanEagle124579:LoadCharacter()
wait()
plrran = true
wait()
plrran = false
end
end
end)
char.ChildAdded:Connect(function(child)
if table.find(check_for, child.Name) and child:IsDescendantOf(char) and plrran then
plrran = false
end
end)