[Request] Script Connections & BindableEvents

Back
onlyroids
Join Date:
Posts:
Feb 2024
3
2 months ago | 13 • By onlyroids

Hello, currently I do not see script connections to clean up connections. If we could get some script connections to clean connections it'd be great! For example, I'm creating a timer using game.Rendered and if I could be able to destroy the connection after a bit it would help tremendously.


Also BindableEvents would be amazing to communicate across scripts and allow us to make our own utils since ModuleScript do not currently support functions.


Example:
local conn


conn = game.Rendered:Connect(function()
conn:Disconnect()
conn = nil
end)


Thanks,
OnlyRoids


onlyroids OP
Join Date:
Posts:
Feb 2024
3
2 months ago • By onlyroids OP

In addition a WaitFor method would be real nice to yield for a specific object.