Can we get some information like if you’re using R6 or R15? Next time you should follow the format and look it up before posting. This also belongs in #help-and-feedback:scripting-support…
Here are some good tutorials:
R15:
R6:
Use the format below. To see the template/format and rules click on the topic and then the information tab it should be pinned…