How Can I Teleport the first players/index of the Tables to A Different place from the Second One?
1 | local player 1 = game.Players:GetPlayers() [ 1 ] |
2 | local player 2 = game.Players:GetPlayers() [ 2 ] |
3 | player 1. Character.HumanoidRootPart.Position = Vector 3. new(- 115 , 5.5 , - 97 ) |
4 | player 2. Character.HumanoidRootPart.Position = Vector 3. new(- 148 , 0.5 , - 99 ) |
This Code Works, it does what I need, but it looks through all the players in game, and not only to the ones that are inside the table
I tried the following code but it didn't work...
1 | local player 1 = playingPlayers [ 1 ] |
2 | local player 2 = playingPlayers [ 2 ] |
playingPlayers is the Table