would Connection Mean Connecting with a script or an Object?
connection=part.Touched:connect(Touched)
Please respect that I am a Beginner
would Connection Mean Connecting with a script or an Object?
connection=part.Touched:connect(Touched)
Please respect that I am a Beginner
When you say "Connection with an Object", i'm not completely sure what you mean. I do know what Connect means in a script.
Connections are used only in an event such as Touched, MouseButton1Click, KeyDown, and so on.
So, what is Connect ? This is basically having the game "listen" for an event to occur, causing your function to fire, or start. If you were to do script.Parent.Touched:connect(function() then you're listening for something to touch whatever part that is parented to the script so you may start your function.
If you want to check out this page in Roblox Wiki, then here's a link
Hope this helps
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
thanks man!
You're literally connecting the event to a function.
No problem.