Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to remove packages from Players? [r15]

Does anyone know how to remove packages from players using r15? I have a script that changes the player's size and they can sort of "fly" while using certain package parts, and it's very annoying. I've seen games like Dragon ball Final stand remove packages from players and I'd really love to know how.

Thanks for reading

1 answer

Loop through everything inside the character and check if it's a CharacterMesh, if so then remove it. Here's the script:

wait(0.2) --Waiting for everything to load...
for _,v in ipairs(script.Parent:GetChildren()) do
if v.ClassName == 'CharacterMesh' then
v:remove()
end
end

Place this in StarterCharacterScripts inside StarterPlayer for it to work.

2 comments

0

Thanks for the help but, i need to know how to do it for r15. Character meshes dont exist for r15, so that method will not work

0

Yeouch..

This discussion is preserved as it was. New answers, comments, and votes are closed.