The question is a bit vague but here's what I'm asking in better context-
local function printText(words)
print(words)
end
part.Touched:Connect(printText("Why'd you touch me :("))
part2.Touched:Connect(printText("STOP THAT"))
I'm not sure if this is possible, I usually don't use this method but I'm trying it out so I don't have to copy and paste the same piece of code over and over.

2 comments
Nah, that's what I've been doing which makes me spam a bunch of touched functions for no reason
I don't see what your trying to do sorry