So i made a script: when the player clicks a block, it changes the camera's Subject to the clicked block, but for some reason it just does not work, this is the script:
local camera = workspace.CurrentCamera
function GoBuild()
camera.CameraSubject = script.Parent
end
script.Parent.ClickDetector.MouseClick:Connect(GoBuild)
Its located here: https://prnt.sc/ms2dtm ...
For some reason it does not even leave a console error, I would appreciate if someone could help me :D!

1 comment
couple of things, is this a script or local script, and where is it located?