Error Changing Camera Direction (solved)

I have a script in a part that will change the camera to a different direction (its a 2d game) but instead i get an error but the value in the script is there

image

my script:


script.Parent.Touched:Connect(function(hit)
	
	if hit.Parent:FindFirstChild("Humanoid") then
		
		game.Players.LocalPlayer.PlayerScripts.MovementScript.cValue = CFrame.new(0,2,-20)
		
	end
	
end)

proof that it is supposed to work:
image

Nevermind, i forgot to put the .Value in the script

A:

There are a few spelling mistakes etc.
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild(“Humanoid”) then
–game.Players.LocalPlayer.PlayerScripts.MovementScript.cValue = CFrame.new(0,2,-20)
print(game.Players.LocalPlayer.PlayerScripts.MovementScript.cValue)
end
end)