Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i make start packs for a game with 2 teams?

I tried putting weapons in my starter pack but i it only shows up on one of the team's tools. Someone help please!

2 answers

Probably try adding a starter pack to the teams.

1 comment

1

but exactly how do i do that?

Click the link below for the instructions: Click Here

function onRespawn(character,player)
teamColor=player.TeamColor
for count,a in pairs(game.Teams:GetChildren()) do
if a.TeamColor=teamColor then
team=a
end
end
if team==nil then return end
weps=game.Lighting.TeamsStarterpack:findFirstChild(team.Name)
if weps==nil then return end
for count,a in pairs(weps:GetChildren()) do
weps:clone().Parent=player.Backpack
end
end
workspace.ChildAdded:connect(function(character) player=game.Players:GetPlayerFromCharacter(character) if player~=nil then onRespawn(character,player) end end)

This discussion is preserved as it was. New answers, comments, and votes are closed.