Some signals require specific argument structures. If incorrect arguments are passed, an error must be thrown.
Notes on replicatesignal
For an accurate result from the examples, test the function in our game.
If possible, replicates the signal to the server with the provided arguments. The arguments must also match accordingly to the signal itself. To know a signal's arguments, visit this.
localui_frame=game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame-- These will throw an error.replicatesignal(ui_frame.MouseWheelForward)replicatesignal(ui_frame.MouseWheelForward,121)-- This succeedsreplicatesignal(ui_frame.MouseWheelForward,121,214)task.wait(0.1)print(game.Players.LocalPlayer:GetAttribute("MouseWheelForwardReplicated"))-- Output: true