How do I replace a Server-Client-Server RemoteFunction with RemoteEvents?

I’m replacing my Server → Client → Server RemoteFunctions. One of the RemoteFunctions I’m replacing pertains to a check to see if the player had parried on their end when an attack happens. I’ve hit a roadblock and can’t seem to figure this out, or maybe I’m overcomplicating this in my head.

Server-side, how do I replace
local iFrameCheck = RemoteFunction:InvokeClient(...)
with a remote event, needing to yield and wait for a client’s data?

try using this:

I think this should fix your issue if I’m understanding it right

Works right as rain. Thanks. Really wish a timeout was an inherent feature with RemoteFunctions.

1 Like