To install LUA mods you can use script manager(https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=14596).
You save the text in a file called,for example, mod.lua.To do this open a text editor copy lua text and save it as all the files and put as name mod.lua and move it to a folder called scripts.Open script manager and active it.