Exercise: button and key
Use your own anchored button to operate a saved mechanism with a simple server-owned key.
Link
- Apply a hinge or slide mechanism.
- Keep it loaded and select a separate anchored button.
- Open Links and choose Link selection.
- Optionally turn Direct interaction Off, preview the change and Apply.
Require a key
Set Key / card to WorkshopKey, preview and Apply. For this exercise, add a Tool named WorkshopKey to StarterPack and set RequiresHandle=false. In Play it must exist in the player Character or Backpack on the server. A matching VI_Key string attribute is an alternative.
Expected result
Without the matching server-owned Tool, activation is denied. With it, the button opens the mechanism. This does not create inventory persistence, consume the key or implement a role system. Remove the test Tool after the exercise if it is not part of your game.