Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from threading import Thread
- from os import system
- from time import sleep
- import keyboard
- class INTEGER:
- HP = int(100)
- ARMOR = int(100)
- BULLETS = int(120)
- Client = True
- def bind():
- while INTEGER.Client == True:
- if keyboard.is_pressed("INSERT"):
- INTEGER.HP = INTEGER.HP - 2
- def game():
- while INTEGER.Client == True:
- if INTEGER.HP < 0:
- try:
- INTEGER.HP = 0
- system("clear")
- except:
- INTEGER.HP = 0
- system("cls")
- print("YOU DEAD")
- INTEGER.Client = False
- print("HP VALUE: " , INTEGER.HP)
- print("ARMOR VALUE: " , INTEGER.ARMOR)
- print("BULLETS: " , INTEGER.BULLETS)
- print()
- sleep(1)
- if INTEGER.Client == True:
- try:
- system("clear")
- except:
- system("cls")
- def VAC():
- while INTEGER.Client == True:
- try:
- if INTEGER.HP > 100:
- print("VAC BANNED")
- INTEGER.Client = False
- elif INTEGER.ARMOR > 100:
- print("VAC BANNED")
- INTEGER.Client= False
- elif INTEGER.BULLETS > 120:
- print("VAC BANNED")
- INTEGER.Client = False
- except:
- try:
- system("clear")
- except:
- system("cls")
- print("Please reinstall this program.")
- INTEGER.Client = False
- Thread(target=game).start()
- Thread(target=VAC).start()
- Thread(target=bind).start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement