Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use = 1
- print("Welcome to the love calculator!")
- print("-------------------------------")
- print("What is your name?")
- print("------------------")
- name = io.read()
- user = nil
- status = nil
- if name == "Destiny" then
- status = "Creator"
- user = 1
- elseif name ~= "Destiny" then
- status = "User"
- user = math.random(1,1000)
- end
- print("----------")
- while true do
- print("Hello "..name.."! | Status : ["..status.."] | (User # : "..user..") | Alright let's do this!")
- print("--------------------------------")
- print("Times this calculator was used : ["..use.."]")
- print("-----------------------------------")
- print("Type in person 1's name, "..name.."!")
- print("------------------------------------")
- print("Person 1 : ???")
- print("--------------")
- p1 = io.read()
- print("--------------")
- print("Ok "..name.."!")
- print("--------------")
- print("Person 1 : "..p1.."")
- print("-------------------")
- print("Alright "..name.."! Now for person 2")
- print("------------------------------------")
- print("Person 2 : ???")
- print("--------------")
- p2 = io.read()
- print("--------------")
- print("Ok "..name.."!")
- print("--------------")
- print("Person 2 : "..p2.."")
- print("-------------------")
- p1love = math.random(0, 100)
- print("Ok "..name..", Here are the results!")
- print("------------------------------------")
- p2love = math.random(0, 100)
- print(""..p1.."'s love for "..p2.." is "..p1love.."%")
- print("---------------------------------------------")
- print(""..p2.."'s love for "..p1.." is "..p2love.."%")
- print("---------------------------------------------")
- print("Couple : "..p1.." x "..p2.."")
- print("----------------------------")
- p2love = p2love/2
- p1love = p1love/2
- stat = p1love + p2love
- rate = "HOLDER"
- if stat < 5 then
- rate = "Worst couple"
- elseif stat < 10 then
- rate = "Not happening"
- elseif stat < 15 then
- rate = "Awful"
- elseif stat < 25 then
- rate = "Really, Really Bad"
- elseif stat < 45 then
- rate = "Bad"
- elseif stat < 50 then
- rate = "Needs a lot of work"
- elseif stat < 75 then
- rate = "You guys are getting there!"
- elseif stat < 85 then
- rate = "Good"
- elseif stat < 100 then
- rate = "Amazing!"
- elseif stat == 100 then
- rate = "PERECTION!"
- end
- print("Couple's overall love : "..stat.."%")
- print("-----------------------------------")
- print("My opinion on this couple is : '"..rate.."'")
- print("-------------------------------------------")
- print("Made by [Certified Weeb]#6917 on discord.")
- print("This calculator uses lua's math.random function")
- print("Thusfore, this is not rigged in any way.")
- print("----------------------------------------")
- use = use + 1
- end
Add Comment
Please, Sign In to add comment