My script works in Studio but not the base game itself?
01 | script.Parent.MouseButton 1 Down:connect( function () |
05 | bin.Parent.Visible = false |
07 | bin.MouseButton 1 Down:connect(Clicked) |
08 | game.Players.LocalPlayer.CameraMaxZoomDistance = . 5 |
13 | bin.Parent.Visible = false |
15 | bin.MouseButton 1 Down:connect(Clicked) |
16 | game.Players.LocalPlayer.Character.Humanoid.Died:connect( function () |
17 | game.Players.LocalPlayer.CameraMaxZoomDistance = 20 |
It's supposed to lock the player in first person when he clicks the "Play" button and make the menu disappear. The menu disappears, but the player is not locked in first person. Is there anything I can do to fix this script?