Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --8ball Lua script made by [Certified Weeb]#6917 on discord.
- --[YOU'RE GAY] ¯\_(ツ)_/¯ [YOU'RE GAY]
- print("8ball : What is your name?")
- name = io.read()
- print("8ball : Very well. Hello "..name..", what do you request from the legendary 8ball today?")
- print("Input the question you want the 8ball to answer...")
- question = io.read()
- print("8ball : Ok "..name..". Predicting...")
- User = math.random(100000)
- print("8ball : Your user number is "..User..", Don't forget!")
- --Variables, Don't Touch...
- local EightBall = math.random(1, 19)
- local yea1 = "Signs Point to Yes."
- local yea2 = "It is Certain."
- local yea3 = "My sources say Yes."
- local yea4 = "Yes, Definitley."
- local yea5 = "It is decidedly so."
- local yea6 = "Yes."
- local idk1 = "I cannot predict now."
- local idk2 = "Time will tell."
- local idk3 = "First Concentrate then ask again."
- local idk4 = "Ask again later."
- local idk5 = "Reply hazy... Try again."
- local idk6 = "My sources are.... confused. Try again."
- local no1 = "Very Doubtful."
- local no2 = "Don't count on it."
- local no3 = "My sources say no."
- local no4 = "Signs point to No."
- local no5 = "No, Definitley"
- local no6 = "No."
- --8ball function, Don't touch
- if EightBall == 1 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..yea1..' ') elseif EightBall == 2 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..yea2..' ') elseif EightBall == 3 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..yea3..' ') elseif EightBall == 4 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..yea4..' ') elseif EightBall == 5 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..yea5..' ') elseif EightBall == 6 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..yea6..' ') elseif EightBall == 7 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..idk1..' ') elseif EightBall == 8 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..idk2..' ') elseif EightBall == 9 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..idk3..' ') elseif EightBall == 10 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..idk4..' ') elseif EightBall == 11 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..idk5..' ') elseif EightBall == 12 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..idk6..' ') elseif EightBall == 13 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..no1..' ') elseif EightBall == 14 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..no2..' ') elseif EightBall == 15 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..no3..' ') elseif EightBall == 16 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..no4..' ') elseif EightBall == 17 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..no5..' ') elseif EightBall == 18 then
- print('Question Asked : '..question..' ')
- print('8ball response : '..no6..' ') elseif EightBall == 19 then
- print('Question Asked : '..question..' ')
- print("The 8ball is lazy thusfore the answer to your question is.... ANYTHING YOU WISH")
- end
- --I added this bit honestly because I was bored and wanted to edit this script for no reason lol
- print("8ball : Now, I must ask you a random math question and you must get it right to validate my prediction...")
- print("Do you agree to this?")
- arg = io.read()
- if arg == "yes" then
- print("8ball : Wonderful! Let's get on to the questions "..name.."!") elseif arg ~= "yes" then
- print("8ball : I actually don't care what you put lol. "..name..", it's Question time!")
- end
- Math = math.random(1,4)
- Mathv2 = math.random(1,10)
- if Math == 1 then
- print("What is your user number plus "..Mathv2.."?")
- ans = io.read("*n")
- if ans == User + Mathv2 then
- print("Prediction validated!")
- elseif ans ~= User + Mathv2 then
- print("Prediction invalid!")
- end
- end
- if Math == 2 then
- print("What is your user number subtract "..Mathv2.."?")
- ans = io.read("*n")
- if ans == User - Mathv2 then
- print("Prediction validated!")
- elseif ans ~= User - Mathv2 then
- print("Prediction invalid!")
- end
- end
- if Math == 3 then
- print("What is your user number multiplied by "..Mathv2.."?")
- ans = io.read("*n")
- if ans == User * Mathv2 then
- print("Prediction validated!")
- elseif ans ~= User * Mathv2 then
- print("Prediction invalid!")
- end
- end
- if Math == 4 then
- print("What is your user number divided by "..Mathv2.."?")
- ans = io.read("*n")
- if ans == User/Mathv2 then
- print("Prediction validated!")
- elseif ans ~= User/Mathv2 then
- print("Prediction invalid!")
- end
- end
- print("Self Advertising but IDC lol")
- print("Discord : [Certfied Weeb]#6917")
- print("PUBG : XxLoneXwolfxX")
- print("Youtube : DefeatedPurpose")
- print("Minecraft : Shit I forgot")
- print("All public accounts Im going to list lol")
- --[YOU'RE STILL GAY] ¯\_(ツ)_/¯ [YOU'RE STILL GAY]
- --CHEESE()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement