Scripting help for my FPS game

Hihi! I am currently trying to make a Valorant Based 5v5 FPS game however, am having some trouble with most of the functions of the game for example like my Spectate System. I rlly want my Spectate System to only be able to spectate people in the person’s team and not the other team when they died.

How would I be able to achieve that?

You can use if conditionals for checking if they are from the players team, or you can do a loop for Team:GetPlayers() to get players from a team and add them to a table, if you have a script that needs fixes, just post it here

2 Likes

o thanks mate! I will try it now.

1 Like