---
name: roblox-contextual-tutorial-and-guidance-systems
description: Build contextual Roblox tutorials and player guidance that are event-driven, server-verified, skippable, replayable, and resilient to UI or character lifecycle changes.
---

# Contextual tutorial and guidance systems

A tutorial is a presentation layer over real gameplay, not a separate rules engine. Teach one useful action at a time and show the hint when its context exists: the player reaches a relevant area, unlocks a feature, approaches an interactable object, or encounters a new mechanic. Do not display a control prompt before the action is available or while another critical interaction is active.

## Make each hint actionable

Keep each step focused on one player action. Use a short title, a plain-language objective, a matching control hint, and an unmistakable success signal. Prefer a small in-world prompt, highlight, or practice interaction over a full-screen interruption. Avoid relying only on color, sound, or motion to communicate a required action. Keep the objective visible long enough to read and let players dismiss or replay it.

Do not assume that one input mapping works everywhere. Resolve the player's current preferred input and adapt the displayed hint for touch, gamepad, or keyboard/mouse. Re-check when the preferred input changes; a player can connect a controller after joining on a touch device. Keep the underlying gameplay action stable while changing only the hint or binding presentation. Roblox's Input Action System is intended to map one action to multiple hardware inputs.

## Separate client presentation from server confirmation

The client may show hints, local highlights, progress animations, and confirmation feedback. The server decides whether the actual gameplay condition was satisfied. For an interaction, validate the player, target, distance, ownership, cooldown, current objective state, and allowed transition. Treat every RemoteEvent or RemoteFunction payload as untrusted. Never accept a client-supplied step number, reward amount, item ID, or "tutorial complete" flag as authority.

Use a single tutorial coordinator with small, explicit modules for triggers, state transitions, presentation, and persistence. Subscribe and unsubscribe to events intentionally. Handle PlayerGui replacement, respawn, character removal, streamed-out Workspace descendants, and reconnects. Avoid indefinite WaitForChild calls on objects that might not exist, unbounded retry loops, repeated event connections after respawn, and per-frame polling for a state that can be event-driven.

## Design lifecycle-safe guidance

Use stable step IDs rather than GUI names or array positions as durable identity. When a tutorial step completes, write an idempotent server-owned transition to the existing profile system. Reconcile the displayed step from saved state after rejoin. Do not save localized hint strings, UI instances, or temporary references. If the player skips a step, record the guidance dismissal separately from the verified gameplay milestone; a skip is not a successful completion.

Guidance must never permanently trap a player. Every step should support skip and replay, and core gameplay should remain available when help is dismissed. If a feature truly requires a prerequisite for game integrity, enforce the gameplay prerequisite in the server-owned feature system and explain it outside the tutorial; do not use a modal walkthrough as a security gate.

## Avoid common interaction failures

- Do not depend on a single device's key names or screen layout.
- Do not cover the exact object the player needs to interact with.
- Do not leave a tutorial prompt open after its target is destroyed or streamed out.
- Do not allow two tutorial popups to compete for focus.
- Do not let a stale prompt trigger a reward or state transition.
- Do not equate "prompt opened" with "mechanic understood."
- Do not mark later funnel steps when earlier gameplay milestones were never achieved.

Provide visible, textual feedback for success and failure. Keep effects brief and configurable. Respect reduced-motion settings and allow players to control the volume or disable nonessential tutorial audio.

## Test the actual interaction loop

Test join timing, late-arriving UI, respawn, character swaps, rapid trigger entry/exit, duplicate interaction requests, high latency, stream-out, rejoin, skip, replay, and input switching. Test with controller focus navigation and touch targets on small screens. Use Studio and device sessions; static manifests cannot validate UI focus, target selection, or live server behavior.

## Roblox references

- https://create.roblox.com/docs/input
- https://create.roblox.com/docs/projects/cross-platform
- https://create.roblox.com/docs/workspace/streaming
