This script won't connect
script.Parent.MouseButton1Down:Connect(function() game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
You miss typed
Should look like this:
script.Parent.MouseButton1Down:connect(function() game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
Use a localscript
and why don't you just do
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
instead of indenting