> 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="https://1247659138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKQUwIzIQxK14jjjyHeFX%2Fuploads%2F4NlHm2SQNvrQNyJQdvDx%2Fimage.png?alt=media&amp;token=2f194df8-5057-4985-83e0-09071e45de71" alt=""><figcaption></figcaption></figure>
