Are these event connections actually deprecated?

In 2020, I have seen that the following were deprecated:

:connect()
:wait()
:disconnect()

However, now I see these in official Roblox stuff, so are they actually deprecated? Let me know! Sincerely, Will

I don’t think there’s much difference in using either one. Since they’re deprecated, though, you probably shouldn’t be using it.

It would be better to use the upper-case methods. Although I am not sure what’s better, I am sure that it’s best to use what is being supported and updated.

2 Likes

you’re probably seeing those in older roblox scripts where they weren’t deprecated yet. a function being deprecated means that it is advised to not use them, since a better, up-to-date alternative has released since then. but they are still usable.

Yes, they are deprecated according to the official documentation.

Instead, you should use the variants with capital letters:

:Connect()
:Wait()
:Disconnect()

The code you were looking at was likely written when those were not deprecated.

1 Like

Yes they’re deprecated, instead you could use:

:Connect()
:Wait()
:Disconnect()

The Avatar Editor Service example is one of these that use these.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.