Advertisement
Guest User

TPT Lua File

a guest
Nov 5th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. script1 = "chosenname1";
  2. script2 = "chosenname2";
  3. script3 = "chosenname3";
  4. script4 = "chosenname4";
  5. script5 = "chosenname5";
  6.  
  7. local script = tpt.input("Run Script", "Please enter the script ID");
  8. if script == script1 then do dofile("script.lua");
  9. end;
  10. end;
  11.  
  12. if script == script2 then do dofile("script.lua");
  13. end;
  14. end;
  15.  
  16. if script == script3 then do dofile("script.lua");
  17. end;
  18. end;
  19.  
  20. if script == script4 then do dofile("script.lua");
  21. end;
  22. end;
  23.  
  24. if script == script5 then do dofile("script.lua");
  25. end;
  26. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement