> For the complete documentation index, see [llms.txt](https://fshn06s-organization.gitbook.io/hydra-lua-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fshn06s-organization.gitbook.io/hydra-lua-api/basics/markdown.md).

# Printing data

## Lua Hello World and Log Function Instructions

### Printing "Hello, World!"

To print "Hello, World!" in Lua, use the `print()` function like so:

```lua
print("Hello, World!")
```

### Using the `log(string)` Function

log(string) will print out the message to the Growtopia chat.

```lua
log("Hello, World!")
```

<figure><img src="/files/vulWg61gB7U1qGxw9ZnV" alt=""><figcaption></figcaption></figure>
