I have been working on a roleplay game that is closely related to my group. I have figured out how to make a script that puts group roles on different team, and I know how to give that a different loadout.
game.Players.PlayerAdded:connect(function(newPlayer)
local rank = newPlayer:GetRankInGroup(3803596)
local teamName = ""
if rank >= 200 then
teamName = "Executive"
elseif rank == 4 then
teamName = "Operatives"
elseif rank == 3 then
teamName = "Junior Operatives"
elseif rank == 2 then
teamName = "Trainees"
end
newPlayer.TeamColor = game.Teams[teamName].TeamColor
end)
But, I was wondering if there was a way, that group ranks could have their own loadout, but still be on the sane team.

1 comment
All you'd really have to do is create a separate script giving people weapons, and keep that script that gives them their team.