Loading...
Loading...
Use for Roblox multiplayer communication across the client-server boundary: designing RemoteEvent, UnreliableRemoteEvent, and RemoteFunction flows; validating client requests; handling replication-aware gameplay; applying rate limits and anti-exploit checks; reasoning about network ownership, server-authority patterns, Input Action System use in authoritative gameplay, and streaming-sensitive multiplayer correctness.
npx skill4agent add stackfox-labs/luau-skills roblox-networkingRemoteEventUnreliableRemoteEventRemoteFunctionTouchedRemoteEventUnreliableRemoteEventRemoteFunctionroblox-coreroblox-dataroblox-apiRemoteEventUnreliableRemoteEventRemoteFunctionNaNinfRemoteFunctionInvokeClient()WaitForChild()Touchedreferences/remote-events-and-callbacks.mdreferences/client-server-runtime.mdreferences/security-and-defensive-design.mdreferences/client-server-boundary-guidance.mdreferences/network-ownership.mdTouchedreferences/server-authority-model-and-techniques.mdreferences/input-action-system.mdreferences/streaming-and-replication-behavior.mdRemoteFunctionTouchedRemoteFunctionRemoteEventNaNinfTouched-- Client: request an interaction attempt, not the reward itself.
InteractRemote:FireServer(targetId)-- Server: verify range, state, and target validity before applying effects.
InteractRemote.OnServerEvent:Connect(function(player, targetId)
-- Validate player state, target existence, distance, cooldown, and permissions.
-- Then mutate shared state on the server.
end)-- Suitable for frequent cosmetic aim or camera direction updates.
AimDirectionRemote:FireServer(lookVector)-- Core state changes live in shared/server-side simulation logic.
-- Local VFX and sounds react to the synchronized state afterward.