Camera Problems please help

what i want: When i activate the tool a part appears
when u touch the part the person who touched will have their camera scriptable and be looking at the part BUT if the local player touches it nothing will happen since they activated it

normal script inside tool:

local tool = script.Parent

local rep = game:GetService("ReplicatedStorage")

local part = rep:WaitForChild("Part")

local  rem = rep:WaitForChild("RemoteEvent")

local rem2 = rep:WaitForChild("rem2")


rem.OnServerEvent:Connect(function(plr)
	
	local Char = plr.Character or plr.CharacterAdded:Wait()
	

	local hum = Char:FindFirstChild("Humanoid")
	
	local Head = Char:FindFirstChild("Head")
	
	local CLONE = part:Clone()

	CLONE.Parent = workspace
	
	CLONE.CFrame =  Head.CFrame * CFrame.new(0,0,-10)
	
	
	local deb = false 
	CLONE.Touched:Connect(function(hit)
		
		if deb then return end
		
		if hit.Parent ~= plr and plr.Name  then
			
			deb = true
			
			rem2:FireAllClients(hit.Parent)
		
			
			task.wait(3)
			
			deb = false
			
			
		end
	end)
end)

local script inside startercharacterscripts:

local rep = game:GetService("ReplicatedStorage")

local  rem2 = rep:WaitForChild("rem2")

local cam = workspace.CurrentCamera

rem2.OnClientEvent:Connect(function(plr,hitparent)

	cam.CameraType = Enum.CameraType.Scriptable

	cam.CFrame = game.Workspace.Part.CFrame

	print("ok")
end)