The code works perfectly in Solo/testing, but it doesn't work in online/play mode. Can anyone help me rewrite this? (It locks first person)
wait() local plr = game.Players.LocalPlayer local cam = game.Workspace.CurrentCamera local chr = nil chr = character plr.CameraMode = 1 while false do wait () cam.CameraType = 1 cam.CoordinateFrame = CFrame.new (200,10,0) cam.Focus = CFrame.new (200,7,500) cam.FieldOfView = 70 end
Change to a local script. :P
or
game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson -- This automatically locks in first person
You can put this as a local script and put in your StarterGear Making the person in First person instead of typing all of that. You can do the above if you want. Hope this helps :P