No worries. If it works, please do mark it as a solution so that others will know not to reply to it. If it does not work, show us an image of your error or your current attempt. Good luck!
You should attempt these yourself using documentaries first, but no worries if you’re just starting off. Use player:GetRankInGroup() for this:
game.Players.PlayerAdded:Connect(function(player)
if player:IsInGroup(5698675) then
if player:GetRankInGroup(5698675) < 249 then --< means less than.
player.TeamColor = game.Teams.Army.TeamColor
elseif player:GetRankInGroup(5698675) >= 249 then -->= means more than or equal to.
player.TeamColor = game.Teams.Admins.TeamColor --If Admins is the name of the team.
end
end
end)