> ## 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.

# replicatesignal

> เรียก replication path สำหรับ RBXScriptSignal ฟังก์ชันอ่าน signal signature แปลง Lua arguments ที่ส่งมาเป็น Roblox signal values สำหรับแต่ละ signature type ตัด Lua arguments ส่วนเกินที่เกิน signature length แล้วเรียก owning instance event invocation function

<div className="real-function-page">
  ```lua theme={null}
  replicatesignal(signal: RBXScriptSignal, ...arguments?: ...any)
  ```

  ## Aliases

  * `replicateevent`

  ## Arguments

  <ParamField path={"signal"} type={"RBXScriptSignal"} required>
    RBXScriptSignal ที่ต้องเรียก owning instance event invocation function
  </ParamField>

  <ParamField path={"...arguments"} type={"...any"}>
    Lua arguments ที่ถูกแปลงตาม signal signature ระบบจะละเว้น extra arguments ที่เกิน signature length
  </ParamField>

  ## ตัวอย่าง

  Replicate for a RemoteEvent signal with values that match the signal signature.

  ```lua theme={null}
  local ReplicatedStorage = game:GetService("ReplicatedStorage")
  local remote = ReplicatedStorage:FindFirstChild("RemoteEvent")

  if remote and remote:IsA("RemoteEvent") then
      replicatesignal(remote.OnClientEvent, "hello")
  end
  ```
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.