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

How do i make the camera unable to look around ?

Asked by 4 years ago

The title says it all.

2 answers

Log in to vote
3
Answered by
Torren_Mr 334 Moderation Voter
4 years ago

Well, you basically need to change the cameratype. If I remember right, you should be able to do it in studio from Workspace properties.

Here is the list of types and what they do: https://developer.roblox.com/en-us/api-reference/enum/CameraType

1
Upvote ^^^ BashGuy10 384 — 4y
0
It keep switching back to default Cioss_Team 14 — 4y
Ad
Log in to vote
0
Answered by 4 years ago
repeat wait()
    camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable

camera.CFrame = CFrame.new(10,10,10)

Answer this question