so i have an arena game mode that is 2 players per server, and what i would like to do is move both players in 2 spots facing eachother
the problem is, i dont know how to select each player and put them in a specific spot
i have not found anything similar to this and need help
thank you for reading and i hope someone can help me
Just make sure the CFrame is rotated before setting the player’s character position to it.
local CharacterCFrames = {
CFrame.new() * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0));
CFrame.new() * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0));
};
local SetCharactersCFrame = function(Players: Table)
for Index, Player in Players do
local Character = Player.Character or Player.CharacterAdded:Wait();
Character:PivotTo(CharacterCFrames[Index]);
end;
end;
SetCharactersCFrame({Player1, Player2});