Ad
Log in to vote
0

Camera manipulation not working? no errors

Asked by
MattVSNNL 187
8 days ago
Edited 8 days ago

I'm making a fnaf type of game so I'm using camera manipulation to keep the player in the lobby but when I wrote the code it won't work even though there are no errors, Can anyone help?

My code

local cam = workspace.CurrentCamera
local camPart = workspace:FindFirstChild("LobbyCamPart")

cam.CameraType = Enum.CameraType.Scriptable

cam.CFrame = camPart.CFrame

Answer this question