Autonomous Period Screen Code Request

Could someone create for me a code in blocks, c++, or python (preferably blocks) a rick roll that lasts for about 15 seconds on my screen so it plays during the robot’s autonomous period?

from vex import *
import time

# Brain should be defined automatically in VEXcode
brain = Brain()

def rick_roll():
    brain.screen.clear_screen()
    brain.screen.set_cursor(1, 1)
    brain.screen.print("Never gonna give you up!")
    brain.screen.new_line()
    brain.screen.print("Never gonna let you down!")
    
    # Approximate intro melody notes
    notes = [
        (Note.E5, 0.3),
        (Note.Fs5, 0.3),
        (Note.Gs5, 0.3),
        (Note.Gs5, 0.3),
        (Note.Cs6, 0.6),
        (Note.B5, 0.6),
        (Note.A5, 0.6),
        (Note.Fs5, 0.6),
        (Note.E5, 0.6),
        (Note.Fs5, 0.6),
        (Note.Gs5, 0.6),
    ]
    
    start_time = time.time()

    # Loop melody for ~15 seconds
    while time.time() - start_time < 15:
        for note, duration in notes:
            brain.play_sound(note)
            wait(duration, SECONDS)

def autonomous():
    rick_roll()

def drivercontrol():
    pass

# Competition structure
competition = Competition(drivercontrol, autonomous)

this it what I’ve managed to dooooooo, you could try it --, I’m not going to test if for you tho--

Sounds like a really cool project for yourself :slight_smile:

There was this, I’ll repost the video.

Is that in python or c++

its in python code for ya