Remote event problems

I’ve been attempting to stop a event from overlapping a connection after reset and I have tried disconnecting the connection after it connects. Unfortunately this happens.
image

script:

image

My goal is to send data from a local script to a server script to pass onto a different local script to do something with it, so I used multiple remote events in 2 different scripts receiving and sending data in a similar format to the above image.
No matter what I do however has any impact and I’ve looked it up and have found no answer. Please give me some input.
Getting the Data:

First Receiver:

1 Like

You have to do disconnect a connection. Save the connection and disconnect it later.

local a
a = remote.OnServerEvent:Connect(function()
    a:Disconnect()
end)

Do I have to do

local a

for each remote event connection?