Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. from threading import Thread
  2. from os import system
  3. from time import sleep
  4. import keyboard
  5.  
  6. class INTEGER:
  7. HP = int(100)
  8. ARMOR = int(100)
  9. BULLETS = int(120)
  10. Client = True
  11. def game():
  12. while INTEGER.Client == True:
  13. if INTEGER.HP < 0:
  14. try:
  15. INTEGER.HP = 0
  16. system("clear")
  17. except:
  18. INTEGER.HP = 0
  19. system("cls")
  20. print("YOU DEAD")
  21. INTEGER.Client = False
  22.  
  23. print("HP VALUE: " , INTEGER.HP)
  24. print("ARMOR VALUE: " , INTEGER.ARMOR)
  25. print("BULLETS: " , INTEGER.BULLETS)
  26. print()
  27. sleep(1)
  28. if INTEGER.Client == True:
  29. try:
  30. system("clear")
  31. except:
  32. system("cls")
  33. def VAC():
  34. while INTEGER.Client == True:
  35. try:
  36. if INTEGER.HP > 100:
  37. print("VAC BANNED")
  38. INTEGER.Client = False
  39. elif INTEGER.ARMOR > 100:
  40. print("VAC BANNED")
  41. INTEGER.Client= False
  42. elif INTEGER.BULLETS > 120:
  43. print("VAC BANNED")
  44. INTEGER.Client = False
  45. except:
  46. try:
  47. system("clear")
  48. except:
  49. system("cls")
  50. print("Please reinstall this program.")
  51. INTEGER.Client = False
  52. Thread(target=game).start()
  53. Thread(target=VAC).start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement