Decide whether the prompt appears
Start with the visible symptom. If the prompt never appears, the issue is usually the prompt's parent, enabled state, activation distance, line-of-sight settings or object location. The prompt should be attached to a part or attachment that exists in the active world. If the object is still in storage, cloned later or hidden inside a model that has not been placed, the player may never see it. Check that Enabled is true and MaxActivationDistance is large enough for your test.
If the prompt appears but nothing happens after holding the key, the display settings are probably fine and the problem is in the trigger handling. That is a different debugging path. Copy whether the prompt is visible, whether the progress circle completes, and whether any print appears when Triggered runs. This separates UI visibility from game logic.
prompt visible: yes/no
prompt parent:
script type:
Triggered print appears: yes/no
intended reward or action:
Output error:Listen to the correct prompt instance
It is common to create a prompt in one place but connect the script to a different instance. This happens when models are cloned, renamed or rebuilt. Print the full path to the prompt at runtime. If the path in Explorer is not the path in code, the script may be watching an old prompt that no player can trigger. When cloning objects, connect the event after the clone exists and before players interact with it.
Use a server Script for actions that affect rewards, doors, inventory, purchases or saved data. The client can handle local UI polish, but trusted changes should be validated by the server. A prompt that gives currency or unlocks a door should confirm the player is allowed to do that action before applying the result.
Check distance, hold duration and exclusivity
Prompt settings can make a working script feel broken. A very small activation distance, blocked line of sight, long hold duration or disabled prompt can stop normal use. Test with simple values first: enabled, visible, short hold duration and reasonable distance. Once the script works, restore your intended game feel. If multiple prompts overlap, players may be triggering a different prompt than expected.
Test the full action path
After the trigger fires, test what happens next. Does the script find the player? Does it find the target object? Does it validate cooldowns or ownership? Does it update the correct value? A prompt is only the entry point. Good debugging follows the path from prompt visible, to prompt triggered, to action accepted, to result applied.
Ask Stellar AI to inspect the prompt location, connection code and action function together. A strong patch should keep trusted checks on the server, add clear prints for one test pass and include denied-path testing so invalid players cannot trigger restricted actions.
Fix the prompt path
Paste the prompt location, script type and Output error into Stellar AI. Ask for a minimal trigger test before changing gameplay rules.
Open Stellar AI free →