Again, I received help here, but none of it is solving the problem. What the script is supposed to do is remove the clothes of people of a specific team and give them new ones. I have no idea what the problem is, Output is giving me nothing. Can someone please help me? Here's the script:

local t2shirt = game.Lighting:WaitForChild("DF1")   
local t2pants = game.Lighting:WaitForChild("DF2")
 
	game.Players.PlayerAdded:connect(function(p)
	   p.CharacterAdded:connect(function(char)
	            if p.TeamColor == BrickColor.new("Bright blue") then -- Put the actual PrickColor
	            if char:FindFirstChild("Pants") then
	                    char.Pants:remove()
	                end
	                if char:FindFirstChild("Shirt") then
	                    char.Shirt:remove()
	                end
	                t2shirt:clone().Parent = char
	                t2pants:clone().Parent = char
	            end
	        end)
	    end)

2 comments

0

This is the 3rd time I've seen this. Just update your question

0

It is. Sorry about that. This isn't like the forums where just posting a reply to it would get it to the first page again, and I don't think editing will let it get seen again. So I just keep reposting... I'm sorry