How to check when a remote event/function is fired

How do you check when a remote function is fired. I want to make a ban message so I have a function in replicated storage called (ban event) and when that is fired I want it to say the player and his/her name was banned. I know how to make the message part but how to check when it’s fired?

1 Like

OnServerEvent or OnClientEvent

2 Likes

When a RemoteEvent is fired: RemoteEvent.OnServerEvent / RemoteEvent.OnClientEvent

When a RemoteFunction is invoked: RemoteFunction.OnServerInvoke

10 Likes