Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Boot Animation for CC Tweaked
- -- Function to clear the screen and set up the terminal
- local function setupTerminal()
- term.clear()
- term.setCursorPos(1, 1)
- end
- -- Function to create the boot animation
- local function bootAnimation()
- local frames = {
- "Loading...",
- "Initializing system...",
- "Starting services...",
- "Welcome to Doggy OS!"
- }
- for i = 1, #frames do
- setupTerminal()
- term.setTextColor(colors.green)
- term.setCursorPos(1, 1)
- term.write(frames[i])
- sleep(1) -- Pause for 1 second before showing the next frame
- end
- end
- -- Start the boot animation
- bootAnimation()
- -- Proceed to the main interface
- os.run({}, "/disk/os/gui") -- Change this to your main GUI file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement