How do you name a function? I'm not sure how to do this. Just messing around with scripting and i'm wondering.
Well, Yellow didn't exactly finish it.
function derp() --code end script.Parent.Touched:connect(derp) -- Just an example of an event.
or you could do
script.Parent.Touched:connect(function() --code|example of an event ^ end)
This one doesn't need the event on the bottom, it's faster really.
function name() --code end
Pretty straight forward. The thing after the word function is the name.