Hi there, I am trying to replicate something similar to when you use the Disconnect() function on a remote event, however I believe you cant do that with remote functions.
Mainly this is just for performance improvements so this is not totally necessary.
I have asked around but most people I have asked just thought I meant remote events or would give me information that doesn’t work.
This is something similar to what I currently have.
local RemoteFunction = game.ReplicatedStorage.RemoteFunction
RemoteFunction.OnServerInvoke = function()
--// rest of stuff here
end
(sorry if it is really obvious)