Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = io.read("*n")
- b = function(x)
- local c = math.random(1,10)
- return x[c]
- end
- if (a > c):
- print("Lower!")
- end
- if (c > a):
- print("Higher!")
- end
- if else:
- print("You guessed the number right!")
- end
- --to see the original script - see here: https://pastebin.com/M06fbgqD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement