Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Firstperson doesn't work in vehicleseats?

Asked by 9 years ago

I have a "car" and when you get in the vehicle seat you can drive it but all of this is done in first person, and when you get in a vehicle seat it zooms out! Why is it zooming out, and is there a way to fix that? Here is my script

game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
game.Players.LocalPlayer.CameraMaxZoomDistance = 0.5
game.Players.LocalPlayer.CameraMinZoomDistance = 0.5
script:Destroy()

--first and last line is not mine-- Please help!!! Thank you!!!

1 answer

Log in to vote
0
Answered by
RM0d 305 Moderation Voter
9 years ago
while wait() do
game.Players.LocalPlayer.CameraMode = "LockFirstPerson"

game.Players.LocalPlayer.CameraMaxZoomDistance = 0.5

game.Players.LocalPlayer.CameraMinZoomDistance = 0.5

script:Destroy()

end

Roblox might force the camera distance. This should work.

0
nah, but thanks tho, I will just add a GUI that blurs their vision when zoomed out! yogipanda123 120 — 9y
Ad

Answer this question