To respawn a player, I change the player’s HumanoidRootPart’s CFrame property which works excellently on PC/laptop but seems to cause a problem for tablet and mobile players.
Problem
The player camera changes when changing the CFrame in the same direction as the character.
However, on a tablet or mobile, the player’s camera changes facing the exact opposite direction of the character. Below is the line of code I use.
HumanoidRootPart.CFrame = RespawnLocation.CFrame * CFrame.new(0,3,0)
This is a problem for me because in my game players frequently respawn, and it would lead them to walk in the wrong direction.
Edit
This script is server-sided