Right now I have 1 local script 1 server scripts 1 remote event
the local script checks if a player clicks e, and if so the remote event will fireServer and the server script will catch the onServerEvent and preform some action
my question is will this cause some sort of bottle necking or lag? Because lets say all players hit e, will there be a queue of request to the Server script and it will be first come first server. meaning that nothing will happen till the previous player finishes the action.
Or will the script preform the action for each player simultaneously?
Don't worry. Your current setup is perfectly fine. Multiple people firing the same event at the same time shouldn't cause any sort of bottleneck, since Events are non-blocking and neither are handlers.
Plus, the chances of everybody pressing e and firing the event at the same time are miniscule. As long as you don't fire the remote every frame and the serverside handler is relatively efficient, you should be good to go.