How come this no work

local prox = script.Parent
local part = prox.Parent
local camera = workspace.CurrentCamera

prox.Triggered:Connect(function(plr)

camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = part
camera.CFrame = part.CFrame
end)

the camera doesnt move at all and there is no errors

2 Likes

ok i just moved all of the script to starter player scripts and it worked lol

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.