Ok so the player clicks a gui button.
The gui button triggers a local script.
The local script triggers a remote event.
The remote event triggers a regular script.
The regular script does whatever and whatnot, but in this regular script how do I get the username of the player who clicked the gui in the first place?
As the comment said, the first parameter of onServerEvent is the player from the client who invoked/fired it.