So with functions, the name can be whatever you want it to be. But is that the same with arguments? For example, how does the script know that hit mean's hit. Since there is nothing to tell it what it is. Even if I change Hit to anything else it still works. My question is, are arguments already defined, if so where can I find a list of them. Thanks for clearing this up for me!
function touch(hit)
hit.Anchored = true -- FIXES YOUR LEG IN PLACE >8D
end
script.Parent.Touched:connect(touch)

1 comment
http://wiki.roblox.com/index.php?title=API:Class/BasePart/Touched --An example of the "Touched" arguments