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
Please use the Lua format tool to format your Code properly
I realized how wierd it looks rn sorry im new