So, I'm trying to make a LocalScript that forces players into first person. Here's the code;
game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
So, where do I put the LocalScript? So far, it only works in solo mode. I want it to be able to work in online mode.
CameraMode can be finicky. Either put it in StarterGui or StarterPack.
repeat wait() until game.Players.LocalPlauer game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
while (not game.Players.LocalPlayer) do wait() end game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
Just a note, a while loop can be used to only run the wait() when needed. If you use a repeat loop it will always run the wait even if what you are trying to verify is already existent.