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

How to remove a player's package? [r15]

Before I start, let me emphasize that this is for R15, not r6.

Now that it's out of the way, is there anyway to remove packages like 2.0 from an r15 player? There are no body meshes and some packages can really bug out my game.

If I can't remove them, then is it possible to assign the default, or "no package" to a player?

thanks for reading

2 comments

0

use free models

0

You can turn it off the configurations page

2 answers

✓ Accepted answer

No. MeshId script write access is restricted. The R15 body parts are made from MeshParts, and if it was a package, the hands arms etc legs feet are all mesh. so

game:GetService("Players").PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
		wait(.1)
		for _,v in pairs(char:GetChildren()) do
			if v:IsA("CharacterMesh") then
				v:Destroy()
			end
		end
	end)
end)

3 comments

0

i had to increase the wait on this because character meshes take like 2 or 3 seconds to actually get added

0

Only R6 characters have character meshes, and line 5 should be if v.ClassName == "CharacterMesh"

0

using the ClassName property and the method instance:IsA() is the exact same thing

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