21:34:00.437 Attempt to connect failed: Passed value is not a function - Studio
the script is
local Event = game.ReplicatedStorage:WaitForChild("SetSubject")
function onEvent_SetSubject(Humanoid)
workspace.CurrentCamera.CameraSubject = Humanoid
end
Event.OnClientEvent:Connect(Event)