From 6ae0242b003332850a82a491278ea18713227d6e Mon Sep 17 00:00:00 2001 From: toastonrye Date: Mon, 8 Aug 2022 16:45:39 -0500 Subject: [PATCH] Create redstoneAnalogOutput.lua --- redstoneAnalogOutput.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 redstoneAnalogOutput.lua diff --git a/redstoneAnalogOutput.lua b/redstoneAnalogOutput.lua new file mode 100644 index 0000000..4a43f5d --- /dev/null +++ b/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()