so i'm making a survival game, and i need my player's characters to only be block rigs in order for my character customization to work as planned. Here is what I tried:
local players = game:GetService("Players")
local player = players.LocalPlayer
local character = player.Character
for i, object in pairs(character:GetDescendants()) do
if object:isA("CharacterMesh") then
object:Destroy()
end
end
I'm using r6 rigs to make this, so the characters should have the Character Meshes inside them. this was a script in serverScriptService. I got no errors but it didnt do as planned. If anyone could help, it would mean alot. Thanks!

2 comments
Benbebop well, u cant set it to a block arm because there is no catalog item for it, and you need the id. So that wont work.
@aazz223 appologies for the long responce time, set it to nothing or nil, I assume that would make it the default (Block arm).