Where should I put the script?

Im making a combat script, where a local script sends it to a remote then to the server.

Should I put the remote event inside the local script, then the server script inside the remote event? Or should I put the the server script in server script service?

I was thinking Inside the remote event because if players do the same thing at the same time then if the script was only in the server it would only work for one of those players meanwhile if it was in the remote event then each player would have their own server script. Where should I put it?

If you’re communicating on client to server then the server script which is connected to remote event should be placed in ServerScriptService.

ServerScriptService is a container service for Script, ModuleScript and other scripting-related assets that are only meant for server use.