Advertisement
Blazephlozard

Untitled

Jun 5th, 2020
750
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. while true do
  2.     thePad = movie.getinput(0,2)
  3.     for k in pairs(thePad) do
  4.         if (math.random() > 0.5) then
  5.             thePad[k] = true
  6.         end
  7.     end
  8.     joypad.set(thePad,2)
  9.     emu.frameadvance()
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement