> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# create_comm_channel

> Erstellt mit Instance.new ein neues BindableEvent, speichert dessen Instance reference in der internen communication channel list unter einer numeric channel ID und gibt die ID plus die BindableEvent Instance zurück. Die channel ID wird aus current map size plus one berechnet. Wenn Instance.new("BindableEvent") keinen object value auf dem stack hinterlässt, wirft die function "Failed to make a BindableEvent".

<div className="real-function-page">
  ```lua theme={null}
  create_comm_channel(): integer | Instance
  ```

  ## Rückgaben

  <ResponseField name={"channelId"} type={"integer"}>
    Numeric channel ID, die in die interne communication channel list eingefügt wird.
  </ResponseField>

  <ResponseField name={"event"} type={"Instance"}>
    BindableEvent Instance, die für den channel gespeichert und an den caller zurückgegeben wird.
  </ResponseField>

  ## Beispiel

  Create a BindableEvent communication channel and keep the returned channel ID for later lookup.

  ```lua theme={null}
  local channelId, event = create_comm_channel()

  print(channelId)
  print(event)
  ```
</div>
