Advertisement
Marlingaming

System Main

Jun 14th, 2023
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. local function PSA(Image,Audio)
  2. shell.run("ImageBroadcast",Image)
  3. shell.run("SpeakerBroadcast",Audio)
  4. end
  5.  
  6. local function Announcement(character,type)
  7. local Folder
  8. local Images = {}
  9. local Audio = {}
  10. local I = 0
  11. if type == "BDA" then
  12.  
  13. elseif type == "NightTime" then
  14.  
  15. elseif type == "Morning" then
  16.  
  17. elseif type == "Motive" then
  18.  
  19. elseif type == "TrialTime" then
  20.  
  21. elseif type == "General" then
  22.  
  23. end
  24. repeat
  25. I = I + 1
  26. PSA(Images[I],Audio[I])
  27. until I == #Images
  28. end
  29.  
  30. function System_Loop()
  31. local A,B,C,D,E = os.pullEvent()
  32. while true do
  33. if A == "modem_message" then
  34.  
  35. elseif A == "Request" then
  36.  
  37. elseif A == "timer" then
  38.  
  39. end
  40. os.queueEvent("pass")
  41. end
  42. os.reboot()
  43. end
  44.  
  45. System_Loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement