diff --git a/examples/progressBarEnergyExample.lua b/examples/progressBarEnergyExample.lua index 5740e5c..aee5666 100644 --- a/examples/progressBarEnergyExample.lua +++ b/examples/progressBarEnergyExample.lua @@ -3,9 +3,9 @@ local filePath = "basalt.lua" --here you can change the file path default: basalt.lua if not(fs.exists(filePath))then - shell.run("pastebin run ESs1mg7P "..filePath) -- this is an alternative to the wget command + shell.run("pastebin run ESs1mg7P packed true "..filePath) -- this is an alternative to the wget command end -local basalt = dofile(filePath) -- here you can change the variablename in any variablename you want default: basalt +local basalt = require(filePath) -- here you can change the variablename in any variablename you want default: basalt local energyCube = peripheral.find("ultimateEnergyCube")