Skip to content

Unreliable Packet Event

This page covers the API Reference for the ‘UnreliablePacketEvent’ instance. The API is identical to Packet Events.

Sends data to the opposite side.

Signature

UnreliablePacketEvent:Fire(recipient: Player | {Player} | nil, parameters: T)

Paramaters

  • recipient - Sends to one player or if a table of players is passed it sends to all the players inside the table.
  • parameters - Event Data

Creates a listener for incoming packets.

Signature

UnreliablePacketEvent:Connect(callback: (Player, T) -> ()): RBXScriptConnection?

Paramaters

  • callback - Function called when packet is received

Returns RBXScriptConnection