So there's a team called Red and Blue , Red have Sword, Blue have Gun, so , how do i do that?
Put the weapons in ServerStorage, call the gun "Gun", and the sword "Sword", then try this. Put the script in ServerScriptService.
game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) if plr.Team = game.Teams.Red then local sword = game.ServerStorage:FindFirstChild("Sword") sword.Parent = plr.Backpack elseif plr.Team == game.Teams.Blue then local gun = game.ServerStorage:FindFirstChild("Gun") gun.Parent = plr.Backpack end end end)