Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What's the difference between connect in a function and Connect?

What's the difference between Connect and connect? I see youtubers use both and I don't know which I'm supposed to use. Are they for different purposes?

6 comments

0

Not really much a difference, Roblox prefer you using Connect that's all.

0

Please look on the wiki before asking questions.

0

So I can use which ever on I want?

0

No. connect is deprecated meaning your code will work better using Connect, like said in my answer.

0

oh

0

"connect" is deprecated. Still works fine, but they recommend using "Connect."

1 answer

✓ Accepted answer

Use Connect because connect is deprecated. If you wish to see the wiki page on this, go here.

8 comments

0

Not really

1

Yes it is deprecated.

0

So like wait and Wait? The wiki says to use Wait, but I've always been using wait

0

ok

0

Well,actually Connect and connect are the same thing. The difference is cause one is deprecated (but still working) and i use it, and another one is harder to write. I really don't know why Roblox deprecated connect to Connect, if both are the same event...

0

If something is deprecated, that doesn't mean it doesn't work anymore. Something that's deprecated will still work, although I think it's less compatible or something to that effect.

1

wait() is depricated when using functions,example: :wait() use :Wait()

This discussion is preserved as it was. New answers, comments, and votes are closed.