You could use RemoteEvent.OnServerEvent (sorry for the lack of links, on mobile right now, you can go to the roblox Developer Hub to look up OnServerEvent)
Because you have already defined the text and the server has received the only defined text. The text, which you connected with a RemoteEvent, will be transferred to the server. If you are still confused about this, in your both local script and server script use
print(player, text)
OnServerEvent will automatically find the player and the text. Imagine it is being stored in the RemoteEvent (something like this) until it is used in the script.
I mean, in your local script you can just use the argument,
game:GetService("ReplicatedStorage").RemoteEvent:FireServer(text) -- You can just send the text
Server script
game:GetService("ReplicatedStorage").RemoteEvent.OnServerEvent:Connect(function(player, text) -- These parameters must be in order.
For example you are trying to send 6 arguments from a local script. Then in the server script you should use 7 parameters. They are the player and the arguments.