|
| 18 Oct 2016 05:37 PM |
Is there a way to disconnect:
game:GetService("RunService").RenderStepped:connect(function()
end))
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|
|
| 18 Oct 2016 05:39 PM |
http://wiki.roblox.com/index.php?title=RBXScriptSignal&redirect=no#Methods_2
CTRL + F "disconnect" |
|
|
| Report Abuse |
|
|
|
| 18 Oct 2016 05:40 PM |
Well of course, what makes it different from any other connection?
local connection connection = game:GetService("RunService").RenderStepped:connect(function()
end) connection:disconnect() --declare it beforehand if you want to disconnect from within the connection |
|
|
| Report Abuse |
|
|
|
| 18 Oct 2016 05:43 PM |
Perfect.
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|