Path: blob/master/payloads/library/prank/Full-ScreenBannerJoke/script.py
2968 views
try:1import pygame2except:3import os4os.system("pip install pygame")5import pygame6import random789pygame.init()1011infoObject = pygame.display.Info()12screen_width = infoObject.current_w13screen_height = infoObject.current_h14screen = pygame.display.set_mode((screen_width, screen_height))15pygame.display.set_caption("Python Prank!")1617font = pygame.font.SysFont("Arial", 64)1819while True:2021text_color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))22text = font.render(":-) RUBBER DUCKS WILL TAKE OVER THE OCEANS! (-: )", True, text_color)2324x_offset = random.randint(-50, 50)25y_offset = random.randint(-50, 50)26text_rect = text.get_rect()27text_rect.center = (screen_width//2 + x_offset, screen_height//2 + y_offset)2829screen.fill((0, 0, 0))30screen.blit(text, text_rect)31pygame.display.flip()3233