How to get variable from function?

Hello, I have a question, how do I get a variable from the client through functions?
For example,

local RemoteEvent = game:GetService("RemoteEvent")

function Epic(epic1,epic2) --How do I get this
   --random stuff
end

RemoteEvent.OnServerEvent:Connect(Epic) --From this

Thank you.

Check out this for an example: RemoteEvent:FireServer

2 Likes

Oh you don’t have to put it in cool!