how do I run the lua scripts ;-;

  • FanimeDBZ
    22nd Dec 2017 Member 0 Permalink

    Sorry for being so cringe 

    the thing is I seriously don't know how to run them in-game

    will someone please explain?

  • jacob1
    22nd Dec 2017 Developer 1 Permalink
    You can type dofile("script.lua") in the console to run a script titled script.lua.

    But this would only last until you reopen the game, so a better way to have it always run is to name the script "autorun.lua", which runs on every startup.

    But this only allow running one script at a time, so that's why the script manager was created. With that, you just put your script in a folder called scripts/ and select it, and it will run on startup.
    Edited once by jacob1. Last: 22nd Dec 2017
  • FanimeDBZ
    22nd Dec 2017 Member 0 Permalink

    @jacob1 (View Post)

     I don't understand

    I have named my scripts autorun.lua and they still don't work D:

  • jacob1
    22nd Dec 2017 Developer 0 Permalink
    @FanimeDBZ (View Post)
    Windows explorer is probably lying to you about the filename. Maybe it is really autorun.lua.txt. You'll need to disable the option to hide extensions for known file types.

    In windows 10, you can click "View" in the ribbon then check "File name extensions"
  • FanimeDBZ
    22nd Dec 2017 Member 0 Permalink

    Umm its autorun.lua

    I'm a roblox exploiter so I would have had this problem with other scripts in the past if it was not a lua file

  • jacob1
    22nd Dec 2017 Developer 0 Permalink
    Is the script designed for powder toy? A roblox script won't run here
  • FanimeDBZ
    22nd Dec 2017 Member 0 Permalink

    Yep I found some Powder toy scripts I wanted to run 

    also I checked the files and they are LUA

  • zaccybot2
    23rd Dec 2017 Member 0 Permalink

    @FanimeDBZ (View Post)

     Are they actually in the same folder as the executable file (Powder.exe)?

  • 008cff
    30th January Member 0 Permalink

    @FanimeDBZ (View Post)

     data folder that u can find in simulation settings, usually its on ur windows user - appdata - roaming - powder toy folder, but NEVER, never share ur powder pref unless its with yourself, it contains ur user login token thing so don't share it, also on that folder the script should be