How to include a second .lua file for cleanliness?

Hi, what was the command for getting main.lua to load up a NativeFX.lua? i tried import NativeFX, i tried include NativeFX but got nothing.

EDIT: I also tried

require NativeFX

but it didn’t work

Did you surround the name of the file with quotes?

require "NativeFX"
1 Like

Did you surround the name of the file with quotes?

require "NativeFX"

Nope, I didn’t, but the minute I did, it worked! Thanks, danoise!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.