If you intended it to send a door passcode from the client to the server, my apologies, I misunderstood the intention of your script.
I assume you want to make a password door, yes? If so, no moderation is necessary you will also not need a secondary remoteevent.
Change the RunContext of “Script” to “Client” and in it change “FireClient” to “FireServer” with NO player argument.
Delete Script2, it is not necessary.
In Script1, detect the same event as the one in “Script” it should accept two arguments. The first one is the sending player and the second one is the code.
Sorry if it seems dumb to you, but I just want to make a lot of doors that will be opened/closed and you need to type in their names in the PC to interact with them. I know, it’s very stylised. Either way, I did the way you asked. I guess I’m done here, right?