What I am trying to do is when I click a TextButton I want the camera to be facing "Baseplate"
1 | script.Parent.MouseButton 1 Click:connect( function () |
2 | local target = game.Workspace.Baseplate --Baseplate is the part I want the camera to be facing. |
3 | local camera = game.Workspace.CurrentCamera |
4 | camera.CameraType = Enum.CameraType.Scriptable |
5 | camera.CameraSubject = target |
6 | end ) |