Yahoo Search Busca da Web

Resultado da Busca

  1. 14 de mar. de 2022 · Learn what :Disconnect () does and when to use it in Roblox scripting. See examples of how to disconnect events, such as Part.Touched, to avoid memory leaks and improve performance.

  2. 24 de jun. de 2020 · My main guess is that it’s to disconnect a function from an event. You have just answered your own question. That is what it does. Say for instance you have a part that kills a player. But you only want the part to kill one player.

  3. 10 de mar. de 2023 · By using :Disconnect(), you’re essentially telling the event listener to stop listening for the event and to disconnect itself from the event.