How do you insert Pant into a player or so?
01 | pants = script.Parent.Pants:GetChildren() |
02 | shirts = script.Parent.shirts:GetChildren() |
03 | faces = script.Parent.Faces:GetChildren() |
04 | hairs = script.Parent.Hair:GetChildren() |
05 | maindummy = game.Workspace.Camera.Dummy_ 3 D |
06 | dummy = script.Parent.Dummy |
07 | repeat wait() until maindummy and dummy and hairs and faces and shirts and pants |
09 | script.Parent [ "Pant Label" ] .Next.MouseButton 1 Click:connect( function () |
10 | curSpawn = pants [ math.random( 1 ,#pants) ] |
12 | for _,v in pairs (maindummy:GetChildren()) do |
13 | if v:IsA( "Pants" ) then |
18 | for _,v in pairs (dummy:GetChildren()) do |
19 | if v:IsA( "Pants" ) then |
So I have this folder in my explorer that has like a lot of pants and I want it to random choose the one of it and copy and paste it into the player, how would I do that?