Be careful when setting multiple augments in RemoteEvent of Roblox.
Firing Side
demoRemoteEvent:FireClient(player, value1, value2, ...)
...
For further actions, you may consider blocking this person and/or reporting abuse
Good point about not including the player on the client side of the RemoteEvent! When firing from the server, Roblox automatically includes the player as the first argument with
FireClient
, so you donโt need to pass it on the receiving end.Example:
Server Side
Client Side
This keeps the data clean on the client side and prevents errors. I've also applied it on my site Fluxus Executor. Thanks for sharing this tip!
Hey there! ๐ When setting multiple arguments in RemoteEvent for Roblox, be cautious. On the firing side, use :FireClient(player, value1, value2, ...), and on the event side, connect with OnClientEvent:Connect(function(value1, value2, ...) without including the player. Happy coding! ๐ #RobloxDev ๐ฎ
interesting. check my article
Hey