Browse documentation
About these guides. BLOXG AI is in development. Workspace guides cover the software prototype; Roblox Studio guides can be used independently.
Prototype

Client/server remotes

Learn to use the Validated client/server request starter.

Run the remote example#

Add Validated client/server request. Put ActionServer in ServerScriptService and ActionClient in StarterPlayerScripts. Press F in a desktop playtest and observe the player’s ActionCount attribute. The server validates the action and rate-limits requests.

Keep decisions on the server#

A client sends an intention, not a trusted outcome. Verify argument types, allowed values, character state and ownership on the server. Do the price calculations on the server when dealing with purchases; do not accept client-calculated total prices.

Adapt it to your game#

Replace the wave action with a game-specific interaction and add distance, inventory or cooldown checks relevant to that interaction. The starter does not have any persistence or economy. Test with multiple clients before making it part of a bigger system.

Further reading

Roblox: securing the client-server boundary ↗Roblox remote events and callbacks ↗
Plan your next project.Join BLOXG AI early access →