diff --git a/examples/redstoneAnalogOutput.lua b/examples/redstoneAnalogOutput.lua new file mode 100644 index 0000000..4a43f5d --- /dev/null +++ b/examples/redstoneAnalogOutput.lua @@ -0,0 +1,10 @@ +-- Basalt configurated installer +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 packed true "..filePath:gsub(".lua", "")) -- this is an alternative to the wget command +end + +-- toastonrye's example: Redstone Analog Output +local basalt = require(filePath:gsub(".lua", "")) -- here you can change the variablename in any variablename you want default: basalt + +local main = basalt.createFrame()