I kind of understood them while learning python, but now I totally forget how they work and why.
function hi(x)
y = x.Backpack
z = script.Parent.Parent.Parent["Cup"]
z:Clone().Parent = y
end
script.Parent.ClickDetector.MouseClick:connect(hi)
This example script does something arbitrary, but the thing I want to focus on is the part where is says
function hi(x)
Does the part at the bottom of the script where it connects MouseClick to the function automatically describe "x" as the character? Or am I missing something entirely?

2 comments
what the heck is the website doing to my answer
Oh okay, so it only passes certain parameters. I was worried they would be arbitrary. Thanks!