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

Get rid of Packages?

what I'm trying to do Is make it so the player's package is removed when entered is this possible? (not a request)

1 answer

✓ Accepted answer

You'd have to search if the player has CharacterMeshs, and I'll show how:

game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function()
		player.Character.ChildAdded:connect(function(newChild)
			if newChild.ClassName == "CharacterMesh" then
				wait(1)
				newChild:Destroy()
			end	
		end)
	end)
end)

This will remove the meshes, when character spawns.

1 comment

2

The CharacterAdded event has a character parameter which you could reference instead of player.Character. Also, you forgot the closing parenthesis for the last three ends, so the script will not work

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