smoothretro82

RNG bot

Nov 17th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. a = 0
  2. b = 0
  3. c = 0
  4. d = 0
  5. function update() {
  6. a = cursor.x
  7. b = cursor.start
  8. c = cursor.y
  9. d++
  10. if (d%20 == 0) {
  11. for (let i = 0; i < 1; i++) {
  12. for (let j = 0; j < 160; j++) {
  13. cursor.x = j - 80
  14. cursor.y = i + 29
  15. writeChar(String.fromCharCode(Math.floor(Math.random()*10)+48), 0)
  16. }
  17. }
  18. }
  19. cursor.x = a
  20. cursor.start = b
  21. cursor.y = c
  22. requestAnimationFrame(update);
  23. }
  24. requestAnimationFrame(update);
Advertisement
Add Comment
Please, Sign In to add comment