> For the complete documentation index, see [llms.txt](https://novoline.gitbook.io/novoscript/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://novoline.gitbook.io/novoscript/master.md).

# NovoScript - Tutorial

## Getting started

### Step 1. Creating a script

First you should create a javascript file at /novoline/scripts folder. Then you should begin making a script by registering a module

```
module = script.registerModule(name,type);
```

The type may be one of six options:

| Type     |
| -------- |
| COMBAT   |
| MOVEMENT |
| PLAYER   |
| VISUALS  |
| EXPLOITS |
| MISC     |

Now you can add settings to your script module.&#x20;

{% content-ref url="/pages/-MdUwwsKGvefCDRhqYi1" %}
[Module](/novoscript/api/module.md)
{% endcontent-ref %}

Then you should hook some of the events. All of the events with examples are listed down below

{% content-ref url="/pages/-MdURIkqo4CCZb5vHLjw" %}
[Events](/novoscript/api/events.md)
{% endcontent-ref %}

Then you should get familiar with the API itself:

{% content-ref url="/pages/-MdVPqecizzNrpr7k1jw" %}
[Objects](/novoscript/api/objects-1.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MdV0CMPRkhaTi7HUpOB" %}
[Packets](/novoscript/api/objects-1/packets.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MdVQ-cNuPh\_BrAn7NwG" %}
[Utilities](/novoscript/api/utilities.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MdVUnY\_bH4kW7Hgsmk6" %}
[Global Variables](/novoscript/api/global-variables.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MdVTPoWJDANNs0EhSYx" %}
[Enums](/novoscript/api/enums.md)
{% endcontent-ref %}

### Step 2. Loading your script

Simply select a script in the 'Scripts' tab in the Click GUI and press 'Load'

The module should appear in the category you specified.&#x20;

If the module didn't appear - that means there's an error - look in the In-Game chat for the information
