What if players in your Roblox game could chat with an AI directly inside the game? Or trigger real-world IoT devices just by sitting on a virtual chair?

In this tutorial, I'll show you how I integrated Roblox with AWS services — specifically Amazon Bedrock (for generative AI) and Amazon DynamoDB (for IoT command/sensor data) — creating an interactive experience where the virtual and physical worlds connect.

The result is a Roblox game where:

Players can ask questions to an AI (Amazon Nova Lite) via in-game chat commands

NPCs trigger real-world IoT actions through DynamoDB and MQTT