OK so I have a working code but because it is a touched function I used three separate functions with only one difference. The code basically changes a players team when they walk through a wall.
so here is the main thing I write:
function heyo(hit)
end example.Touched:connect(heyo)
Obviously, that code wouldn't do anything but the question is what do I change in the call and functions statement to make it so that I can send a second parameter into the function (since hit is already being sent)

2 comments
https://scriptinghelpers.org/blog/posting-good-questions-and-answers-on-scripting-helpers
Thanks Nonaz_jr That is the perfect solution to my problem!!