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

How to change to forced first person in game?

Asked by 4 years ago

So I have a game that is meant to be played in first person, but i would also like to have a start menu for it. In order to make a working start menu you'd have to be able to move your mouse, so i have to make it so the forced first person isn't on at the beginning, but is there a working way to turn in ton after pressing the "Play" button in the menu? The current script I have looks like this:


local player = game.Players.LocalPlayer script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.Parent.Menu.Enabled = false player.CameraMaxZoomDistance = 0 end)


For some reason this isn't working. Does anyone know a way to force first person after closing the menu?

Answer this question