Is it possible to shared a RBXScriptConnection

Is it possible to shared an RBXScriptConnection, what I mean by this is let say I had a part that when a character Touched part it would print something, but whenever I do this it would say *cannot read value as a string, anyways to get pass this?

1 localscript

local Part = workspace.Part

local function Touched()
	print("test")
end

shared.Test = Part.Touched:Connect(Touched)

2 localscript


wait(2)

print(shared)

if its 2 localscript communicating just use bindable events then

--1st script--
local Signal = Part.Touched:Connect(Touched)
BindableEvent:Fire(Signal)
----

--2nd script--
BindableEvent.Event:Connect(function(Arg)
print(Arg)
end)

bindablevents are basically remote events just that its only a server-server, local-local script communication. Might’ve misunderstood the question, perhaps you could be asking how to share the “Touched” part instead.

but couldn’t you just use _G for this

i decide to just stick with a modulescript