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

I Cant Turn My Camera To A Scriptable Camera?

I have been trying to make my camera turn into a scriptable camera but haven't gotten to work. A snippet of my code looks like this.

local Dice = script.Parent local Cam = workspace.CurrentCamera local Object = game.Workspace.Part

Object.CanCollide = false Object.Anchored = true

wait(1) Cam.CameraType = "Scriptable"

Im really confused.

2 comments

0

Please use the Lua format tool to format your Code properly

0

I realized how wierd it looks rn sorry im new

1 answer

Instead of

Cam.CameraType = "Scriptable"

instead do

Cam.CameraType = Enum.CameraType.Scriptable

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