Like in murder mystery when you spawn in the lobby you spawn as a noob but have all you clothes and hats and packages all gone. How do you destroy body parts?
Have a script that uses the :Destroy()
function on body parts every time a player spawns in via :CharacterAdded()
or :PlayerAdded()
.
try this
01 | game.Players.PlayerAdded:connect( function (plr) |
02 | plr.CharacterAdded:connect( function () |
03 | wait( 2 ) |
04 | local bp = plr.Character:GetChildren() |
05 | for i = 1 , #bp do |
06 | if bp [ i ] :IsA( "Hat" ) or bp [ i ] :IsA( "Shirt" ) or bp [ i ] :IsA( "Pants" ) then |
07 | bp [ i ] :remove() |
08 | end |
09 | end |
10 | end ) |
11 | end ) |