Players Camera not changing

Ok so Im trying to make it so the players camera will change to a part, But its not working and I don’t know why, Heres the script

Client

game.ReplicatedStorage.GetPlr.OnClientInvoke = function(plr, pass)
	local cam = workspace.CurrentCamera
	cam.CameraSubject = pass
	local lv = game.Players.LocalPlayer:GetMouse().Hit.LookVector
	return lv
end
local function PlrFly(plr)
	local Fly = game.ReplicatedStorage.Part:Clone()
	Fly.Parent = workspace
	Fly.Name = plr.Name.."Fly"
	local BV = Instance.new("BodyVelocity")
	BV.Parent = Fly
	while true do
		local update = game.ReplicatedStorage.GetPlr:InvokeClient(plr, Fly)
		print(update)
		BV.Velocity = update * 30
		wait()
	end
end
game.ReplicatedStorage.GetPlr.OnClientInvoke = function(plr, pass)
	local cam = workspace.CurrentCamera
	cam.CameraSubject = pass
	cam.CameraType = Enum.CameraType.Scriptable ----------- Make this Enum.CameraType.Custom to make the camera on the player
	cam.CFrame = pass.CFrame
	local lv = game.Players.LocalPlayer:GetMouse().Hit.LookVector
	return lv
end