I don't see my guns even though I put them in my team

I do not see my guns even though I’ve put them in my team it doesn’t decide to show up.
image

I don’t remember this way of team only tool working, and I think you will have to make it with a script.

local Tools = {
	["Neutral"] = {
		
	},
	["NVA"] = {
		
	},
	["USM (JOIN GROUP)"] = {
		
	},
}


local function UpdateTeamTools(Player)
	if Player.Team == nil then return end
	Player.Backpack:ClearAllChildren()
	local TeamTools = Tools[Player.Team.Name]
	if TeamTools then
		for i = 1, #TeamTools do
			TeamTools[i]:Clone().Parent = Player.Backpack
		end
	end
end


game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function()
		UpdateTeamTools(Player)
	end)
	Player:GetPropertyChangedSignal("Team"):Connect(function()
		UpdateTeamTools(Player)
	end)
end)
1 Like

Thank you very much! I was soo confused haha. :laughing:

1 Like