I'm attempting to make a type of conquest map for a medieval game, no clue how to make the camera locked in a position. I mean by making a sort of overhead view, with no actual player existing.
Here you go, make sure the script is local and is located in the starter gui
1 | wait() |
2 | local cam = workspace.CurrentCamera ----- gets your character's camera |
3 | local player = game.Players.LocalPlayer ---- finds a player |
4 |
5 | repeat wait() until player.Character ----- waiting until the character is found |
6 |
7 | cam.CameraType = "Scriptable" ----- makes sure that the camera is changable |
8 |
9 | cam.CFrame = workspace.Cam.CFrame --- workspace.Cam is the location of the camera brick, your camera will be facing the front surface of the brick |
Hope this solves your problem