About 180,000 results
Open links in new tab
  1. What is :Disconnect () and when do I use it? - Roblox

    Mar 14, 2022 · con:Disconnect() -- disconnect the connection making the event not fire end) It disconnects RBXScriptSignal s 92 which stop them from running. If you hook up a RBXScriptSignal to an instance, such as Part.Touched, you …

  2. Does I need use disconnect when I delete button? - Roblox

    Jun 28, 2024 · An instances connections are disconnected when that instance is destroyed but you’ll need to nil the connection’s table index otherwise the reference to that connection object will still exist (and won’t be garbage collected). local button = script.Parent local connections = {} local mouseClickCo…

  3. Disconnecting functions directly - Scripting Support - Roblox

    Mar 30, 2020 · Is it possible to disconnect functions from events like this? button.Activated:Connect(function() --code button.Activated:Disconnect() end) Instead of this. local a = button.Activated:Connect(function() --code a:Disconnect() end)

  4. How to disconnect function - Scripting Support - Roblox

    Aug 14, 2022 · You can just use :Once (), and create another connection in the function that fires only once. newconnection = script.Parent.Event:Connect(function() --code. end) How do i disconnect the function, NOT the MouseButton1Click Event.

  5. Roblox Friend Removal Button - Chrome Web Store

    Adds a red-crossed button to each friend card. Allowing the ability to easily dispose of friends. This only applies to the friends list.

  6. GuiButton | Documentation - Roblox Creator Hub

    The most important event of a GuiButton is Activated, a multi-platform event that fires when the button is activated. When using a mouse, this means clicking the button and releasing with the cursor still over the UI object. For touch, the same applies but with a …

  7. What is the :Disconnect () function primarily used for? - Roblox

    Jun 24, 2020 · Disconnecting the Touched connection would come in handy: local connection connection = script.Parent.Touched:Connect (function (part)… 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.

  8. Disconnecting .MouseButton1Click:Connect events questions - Roblox

    Aug 30, 2024 · There’s not really a “best” proper way to do it unless you care about micro-optimizations that save nanoseconds. Saving the connections in a table is absolutely fine (since there’s really no other basic way).

  9. RBXScriptConnection:Disconnect | Documentation - Roblox

    Disconnects the connection from the event.

  10. How to disconnect in roblox - YouTube

    today i will teach u how to disconnect in roblox

Refresh