Remote Events and Functions

WARNING: Exploits can manipulate Remote Events and run them whenever. Please take this into consideration when making a game on roblox.

Remote Events

A remote event is a event that is used to allow scripts and local scripts to communicate. (Remote Events should be a in Replicated Storage) (EventHandlers should be in ServerScriptService) Scripts can call "FireClient" LocalScripts can call "FireServer" FireClient means it fires only for the client that fired it. FireServer means it fires for the server and fires for every player/client connected to the server.

Remote Functions

Remote functions are the same as remote events. But, they will pause the rest of the script below them when they are fired. They will not continue the script they were fired in until the OnServerEvent / OnClientEvent has completely finished for the Remote Function.

Last updated