Hello, this is my code here. It removes all player packages and deletes them in a whole. This script also breaks my tools and locks the player when holding the tools.
while true do
wait()
c=game.Workspace:getChildren()
for i = 1, #c do
cc=c[i]:getChildren()
for ii=1, #cc do
if cc[ii].className=="CharacterMesh" then
cc[ii]:Remove()
end
end
end
end
Can someone help me? I would appreciate it greatly.

4 comments
:c
You're looping through everything in workspace.. that'll lag like hell
This is a free model. I do not appreciate this.
https://gyazo.com/95c919a3b88be2072c95da80e510b4c1.png