Advertisement
melzneni

StartupInstaller

Jun 11th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. args={...}
  2. if #args<1 then
  3. error("required arguments: programId")
  4. end
  5.  
  6. pId=args[1]
  7.  
  8. print (#args)
  9.  
  10. txt="shell.run(\"pastebin\",\"run\",\""..pId.."\""
  11.  
  12. for i=2,#args do
  13. txt=txt..",\""..args[i].."\""
  14. end
  15.  
  16. file=fs.open("startup","w")
  17. file.write(txt..")")
  18. file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement