I have a first person script that I made. But when I tested it in studio with 2 players, my script works for the first player who is able to move/look around in first person. But when I tested it out with the second player, the second player wouldn't be able to move/look around. In addition, the second player is also in first person just no able to look around.
My script is a LocalScript and I put it in the StarterGui.
Please help me, Thank you.
Script:
local plr = game.Players.LocalPlayer
plr.CameraMode = "1"
Try game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
instead. Put it in StarterPlayerScripts
.