Hey I’m trying to make a custom camera after a huge break from scripting and it’s not working for some reason :/
--camera lol
local RunService = game:GetService("RunService")
task.wait(0.1)
RunService.RenderStepped:Connect(function()
workspace.CurrentCamera.CFrame = workspace:WaitForChild("Camera").CFrame
end)
Help would be appreciated also script is in starter player scripts
1 Like
try Heartbeat instead of RenderStepped
2 Likes
Same thing happened it doesn’t work
Dyzody
(Dyzody)
4
Make sure the cameratype property is set to scriptable.
1 Like
I forgor
about camera types, listen to dyzody
1 Like
Still nothing happens but theres a warning in output that says Active Camera Controller did not select a module
1 Like
1: I recommend renaming the CameraPart, since the script gets confused between the normal camera, and the part.

2: Make sure that the camera is on scriptable mode.
Here is the edited script:
--camera lol
local RunService = game:GetService("RunService")
local CameraPart = game:GetService("Workspace"):WaitForChild("CameraPart")
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
RunService.RenderStepped:Connect(function()
workspace.CurrentCamera.CFrame = CameraPart.CFrame
end)
I hope i helped you to solve the problem, if so, be sure to mark my reply as a solution 
2 Likes
Holy moly thanks I forgot about that
2 Likes
To add on Stitch’s post:
If the issue of Active Camera Controller persists, consider using
repeat
task.wait()
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
until workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable
3 Likes