Script Won't Run

  • godhydra
    28th Nov 2018 Member 0 Permalink

    So I recently was able to create a new element, but currently I'm trying to run the script in-game and it doesn't seem to want to run. I've tried doing the 'dofile(x)' command but it won't run. I've made sure the name matched (Ex. 12345.lua) but it still says the file or directory doesn't exist. Is there anything I can do in order to fix it? I can post the script if needed.

  • jacob1
    28th Nov 2018 Developer 0 Permalink
    Which folder did you put the script in? If it's next to Powder.exe, just do dofile("12345.lua"). If it's in scripts/, then do dfile("scripts/12345.lua")

    If you use the script manager, you can put it in the scripts/ folder and run it from there.