Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bedrockPath='/' if OneOS then
- OneOS.LoadAPI('/System/API/Bedrock.lua', false)
- elseif fs.exists(bedrockPath..'/Bedrock')then
- os.loadAPI(bedrockPath..'/Bedrock')
- else if http then
- print('Downloading Bedrock...')local h=http.get('https://pastebin.com/raw/0MgKNqpN')if h then
- local f=fs.open(bedrockPath..'/Bedrock','w')f.write(h.readAll())f.close()h.close()os.loadAPI(bedrockPath..'/Bedrock')
- else error('Failed to download Bedrock. Is your internet working?') end else error('This program needs to download Bedrock to work. Please enable HTTP.')
- end
- end if Bedrock then
- Bedrock.BasePath = bedrockPath Bedrock.ProgramPath = shell.getRunningProgram()
- end
- local r = http.get("https://pastebin.com/raw/DPBXDie4"); local f = fs.open( shell.resolve( "pastebinImport" ), "w" ); f.write( r.readAll() ); f.close(); r.close()
- local r = http.get("https://pastebin.com/raw/8De08wZE"); local f = fs.open( shell.resolve( "pastebin2" ), "w" ); f.write( r.readAll() ); f.close(); r.close()
Add Comment
Please, Sign In to add comment