I made a Local Script inside the StarterGui, with the following line inside:
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson game.StarterGui:SetCoreGuiEnabled("All", false)
The problem is that in online mode, the player is not locked in First Person view, however the 2nd line (game.StarterGui:SetCoreGuiEnabled("All", false)) works just fine. How come in offline mode, the Camera is locked on first person, but on online mode it isnt?
All local scripts generally need a wait() on the very first line and I checked this with your script anyways so....
wait() game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
It worked in start server so should work in game.
ROBLOX Camera functions ingame are currently being developed. In come cases you will find your cursor moves around in FPV and ML.