Hey!
I’m trying to disconnect this, but I can’t seem to find a way, even researching gave nothing but confusion.
![]()
Just to clarify, It’s getting disconnected immediately to ensure it’s valid and such. That’s why it’s in a pcall… Is this the right format?
Issue has not been solved, nor can I find a way to fix it, anyone?
what exactly are you trying to achive?
You need to connect it first.
local Success, ErrorMsg = pcall(function()
local Connection = InstanceFolder:GetPropertyChangedSignal(ValueName):Connect(function() end)
Connection:Disconnect()
end)
Well, I’m making sure the function is useable, and won’t kill the thread if it cant.
local Success, ErrorMsg = xpcall(function()
local Connection = InstanceFolder:GetPropertyChangedSignal(ValueName):Connect(function() end)
Connection:Disconnect()
end, function(Err)
print("Event connection/disconnection failed, reason: "..Err)
end)