Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to move player's camera position?

currentcamera.CameraType = Enum.CameraType.Scriptable

currentcamera.CFrame = cam.CFrame

Doesn't work, no errors, but nothing happens and it sets the cameratype to custom instead of scriptable. What am I doing wrong?

2 answers

✓ Accepted answer

This problem happens a lot. Simply use this:

repeat
	currentcamera.CameraType = Enum.CameraType.Scriptable
until currentcamera.CameraType == Enum.CameraType.Scriptable

Hope this helped!

3 comments

0

This will make Roblox crash, you can add wait(number)

0

dont think so, but even if it did you could use wait() plain

0

This is epic gamers

I think you may need to do the "Scriptable" part on normal camera instead of in a script. Otherwise, I would think you're doing everything else correctly.

local cam
currentcamera.CFrame = cam.CFrame

This discussion is preserved as it was. New answers, comments, and votes are closed.