Volt

replicatesignal

Fires a signal with server replication.

Syntax

replicatesignal(signal: RBXScriptSignal, ...: any) -> void

Parameters

ParameterTypeDescription
signalRBXScriptSignalThe signal to fire
...anyArguments to pass

Returns

This function does not return a value.

Description

replicatesignal fires a signal in a way that replicates to the server, unlike firesignal which only fires locally.

Example

-- Fire a ProximityPrompt's Triggered signal with replication
local prompt = workspace.Door.ProximityPrompt
replicatesignal(prompt.Triggered, game.Players.LocalPlayer)

Difference from firesignal

FunctionLocalReplicates
firesignal
replicatesignal

Use Cases

  • Input simulation: Simulate user input that needs server acknowledgment
  • Interaction triggers: Fire interaction events that should replicate
  • Testing: Test server-replicated behavior

Notes

  • Not all signals can be replicated
  • Server validation may still reject the action

On this page