Hello.
Will there be any difference if we use the same remote event object instead of creating another for different functions? For example:
--Local script:
game.ServerStorage.RemoteEvent:FireServer("Function a")
--Another line:
game.ServerStorage.RemoteEvent:FireServer("Function b")
--Server script:
game.ServerStorage.RemoteEvent.OnServerEvent:Connect(function(player, func)
if func == "Function a" then
elseif func == "Function b" then
end
end)
Or...
--Local script
game.ServerStorage.RemoteEvent0:FireServer()
game.ServerStorage.RemoteEvent1:FireServer()
--Server script
game.ServerStorage.RemoteEvent0.OnServerEvent
game.ServerStorage.RemoteEvent1.OnServerEvent
Which one is better?