Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Prompt the user for a choice
- print("Select an option:")
- print("1. Run ACasingMake.lua")
- print("2. Run BCasingMake.lua")
- -- Wait for user input
- local choice = tonumber(io.read())
- -- Check the user's choice and run the appropriate script
- if choice == 1 then
- shell.run("ACasingMake.lua")
- elseif choice == 2 then
- shell.run("BCasingMake.lua")
- else
- print("Invalid choice. Please enter 1 or 2.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement