So I’m making a charactermesh remover script for my goofy ragdoll game, and I can’t see why it doesn’t work. Any obvious stupid mistakes I made?
local Players = game:GetService('Players')
repeat wait() until Character
local charChildren = Character:GetChildren()
for _, thing in pairs(charChildren) do
if thing:IsA("CharacterMesh") then
warn('found CharacterMesh, name is '.. thing.Name) -- this doesnt print out either
Yes, this post is a duplicate, but the other post doesn’t say how they fixed it…
It just says “Something tried to destroy CharacterMesh in IConsumeCheddar, current parent is nil”, or something along the lines of that. I haven’t bothered with the script in like, well, 10 days so I forgot the exact error.
for _, v in pairs(char:GetDescendants()) do
if v:IsA("CharacterMesh") then