How can I check to see if a player's camera is in FirstPerson, and change it to ThirdPerson?
Hello again! In one of my scripts that involves Camera Manioulation, I found that if the player is in first person, I can not zoom out of it (Which is needed). So I was wondering if there was a way to check to see if a player is in first person and change it to thirdperson!
I'm not sure how to do that but I can do this!
1 | script.Parent.Touched:connect( function (hit) |
2 | if hit.Parent:FindFirstChild( "Humanoid" ) ~ = nil then |
3 | if game.Players:GetPlayerFromCharacter(hit.Parent).CameraMode = = "LockFirstPerson" then |
4 | game.Players:GetPlayerFromCharacter(hit.Parent).CameraMode = "Classic" |
Thanks!
~Mini