You are on page 1of 5

import os

import time
import keyboard
import pyautogui
from termcolor import colored
from colorant import Colorant

TOGGLE_KEY = 'F1' # Toggle on/off colorant key


XFOV = 185 # X-Axis FOV
YFOV = 75 # Y-Axis FOV
INGAME_SENSITIVITY = 1.366 # Replace this with the your in-game sensitivity value
FLICKSPEED = 1.07437623 * (INGAME_SENSITIVITY ** -0.9936827126) # Calculate flick
speed
MOVESPEED = 1 / (4 * INGAME_SENSITIVITY) # Calculate move speed

monitor = pyautogui.size()
CENTER_X, CENTER_Y = monitor.width // 2, monitor.height // 2

def main():
os.system('title Colorant')
colorant = Colorant(CENTER_X - XFOV // 2, CENTER_Y - 7 - YFOV // 3, XFOV, YFOV,
FLICKSPEED, MOVESPEED)
print(colored('''
▄████▄ ▒█████ ██▓ ▒█████ ██▀███ ▄▄▄ ███▄
█ ▄▄▄█████▓
▒██▀ ▀█ ▒██▒ ██▒▓██▒ ▒██▒ ██▒▓██ ▒ ██▒▒████▄ ██ ▀█
█ ▓ ██▒ ▓▒
▒▓█ ▄ ▒██░ ██▒▒██░ ▒██░ ██▒▓██ ░▄█ ▒▒██ ▀█▄ ▓██ ▀█
██▒▒ ▓██░ ▒░
▒▓▓▄ ▄██▒▒██ ██░▒██░ ▒██ ██░▒██▀▀█▄ ░██▄▄▄▄██ ▓██▒
▐▌██▒░ ▓██▓ ░
▒ ▓███▀ ░░ ████▓▒░░██████▒░ ████▓▒░░██▓ ▒██▒ ▓█ ▓██▒▒██░
▓██░ ▒██▒ ░
░ ░▒ ▒ ░░ ▒░▒░▒░ ░ ▒░▓ ░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▒░ ▒
▒ ▒ ░░
░ ▒ ░ ▒ ▒░ ░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░
▒░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ░
░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░


COLOR AIMBOT - v1.1''', 'magenta'))
print()
print(colored('[Info]', 'green'), colored('Set enemies to', 'white'),
colored('Purple', 'magenta'))
print(colored('[Info]', 'green'), colored(f'Press {colored(TOGGLE_KEY,
"magenta")} to toggle ON/OFF Colorant', 'white'))
print(colored('[Info]', 'green'), colored(f'Press', 'white'), colored('F2',
'magenta'), colored('to toggle ON/OFF Detection Window', 'white'))
print(colored('[Info]', 'green'), colored('RightMB', 'magenta'), colored('=
Aimbot,', 'white'))
print(colored('[Info]', 'green'), colored('RightMB', 'magenta'), colored('=
Triggerbot', 'white'))
print(colored('[Info]', 'green'), colored('Home', 'magenta'), colored('=
Silentaim', 'white'))
print(colored('[Info]', 'green'), colored('GitHub Repo:', 'white'),
'\033[35;4mhttps://github.com/hafyzwithawhy/Colorant\033[0m')
print(colored('[Info]', 'green'), colored('Made By', 'white'),
colored('Hafez#6866', 'magenta'))
status = 'Disabled'

try:
while True:
if keyboard.is_pressed(TOGGLE_KEY):
colorant.toggle()
status = 'Enabled ' if colorant.toggled else 'Disabled'
print(f'\r{colored("[Status]", "green")} {colored(status, "white")}',
end='')
time.sleep(0.01)
except (KeyboardInterrupt, SystemExit):
print(colored('\n[Info]', 'green'), colored('Exiting...', 'white') + '\n')
finally:
colorant.close()

if __name__ == '__main__':
main()

import os
import time
import keyboard
import pyautogui
from termcolor import colored
from colorant import Colorant

TOGGLE_KEY = 'F1' # Toggle on/off colorant key


XFOV = 155 # X-Axis FOV
YFOV = 95 # Y-Axis FOV
INGAME_SENSITIVITY = 1.466 # Replace this with the your in-game sensitivity value
FLICKSPEED = 1.07437623 * (INGAME_SENSITIVITY ** -0.9936827126) # Calculate flick
speed
MOVESPEED = 1 / (4 * INGAME_SENSITIVITY) # Calculate move speed

monitor = pyautogui.size()
CENTER_X, CENTER_Y = monitor.width // 2, monitor.height // 2

def main():
os.system('title Colorant')
colorant = Colorant(CENTER_X - 2 + 3 - XFOV // 2, CENTER_Y - 3 - 6 - YFOV // 3,
XFOV, YFOV, FLICKSPEED, MOVESPEED)
print(colored('''
▄████▄ ▒█████ ██▓ ▒█████ ██▀███ ▄▄▄ ███▄
█ ▄▄▄█████▓
▒██▀ ▀█ ▒██▒ ██▒▓██▒ ▒██▒ ██▒▓██ ▒ ██▒▒████▄ ██ ▀█
█ ▓ ██▒ ▓▒
▒▓█ ▄ ▒██░ ██▒▒██░ ▒██░ ██▒▓██ ░▄█ ▒▒██ ▀█▄ ▓██ ▀█
██▒▒ ▓██░ ▒░
▒▓▓▄ ▄██▒▒██ ██░▒██░ ▒██ ██░▒██▀▀█▄ ░██▄▄▄▄██ ▓██▒
▐▌██▒░ ▓██▓ ░
▒ ▓███▀ ░░ ████▓▒░░██████▒░ ████▓▒░░██▓ ▒██▒ ▓█ ▓██▒▒██░
▓██░ ▒██▒ ░
░ ░▒ ▒ ░░ ▒░▒░▒░ ░ ▒░▓ ░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▒░ ▒
▒ ▒ ░░
░ ▒ ░ ▒ ▒░ ░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░
▒░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ░
░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░


COLOR AIMBOT - v1.1''', 'magenta'))
print()
print(colored('[Info]', 'green'), colored('Set enemies to', 'white'),
colored('Purple', 'magenta'))
print(colored('[Info]', 'green'), colored(f'Press {colored(TOGGLE_KEY,
"magenta")} to toggle ON/OFF Colorant', 'white'))
print(colored('[Info]', 'green'), colored(f'Press', 'white'), colored('F2',
'magenta'), colored('to toggle ON/OFF Detection Window', 'white'))
print(colored('[Info]', 'green'), colored('RightMB', 'magenta'), colored('=
Aimbot,', 'white'))
print(colored('[Info]', 'green'), colored('RightMB', 'magenta'), colored('=
Triggerbot', 'white'))
print(colored('[Info]', 'green'), colored('Home', 'magenta'), colored('=
Silentaim', 'white'))
print(colored('[Info]', 'green'), colored('GitHub Repo:', 'white'),
'\033[35;4mhttps://github.com/hafyzwithawhy/Colorant\033[0m')
print(colored('[Info]', 'green'), colored('Made By', 'white'),
colored('Hafez#6866', 'magenta'))
status = 'Disabled'

try:
while True:
if keyboard.is_pressed(TOGGLE_KEY):
colorant.toggle()
status = 'Enabled ' if colorant.toggled else 'Disabled'
print(f'\r{colored("[Status]", "green")} {colored(status, "white")}',
end='')
time.sleep(0.01)
except (KeyboardInterrupt, SystemExit):
print(colored('\n[Info]', 'green'), colored('Exiting...', 'white') + '\n')
finally:
colorant.close()

if __name__ == '__main__':
main()

import os
import time
import keyboard
import pyautogui
from termcolor import colored
from colorant import Colorant

TOGGLE_KEY = 'F1' # Toggle on/off colorant key


XFOV = 155 # X-Axis FOV
YFOV = 95 # Y-Axis FOV
INGAME_SENSITIVITY = 1.346 # Replace this with the your in-game sensitivity value
FLICKSPEED = 1.07437623 * (INGAME_SENSITIVITY ** -0.9936827126) # Calculate flick
speed
MOVESPEED = 1 / (4 * INGAME_SENSITIVITY) # Calculate move speed

monitor = pyautogui.size()
CENTER_X, CENTER_Y = monitor.width // 2, monitor.height // 2

def main():
os.system('title Colorant')
colorant = Colorant(CENTER_X - 2 + 2 - XFOV // 2, CENTER_Y - 3 - 3 - YFOV // 3,
XFOV, YFOV, FLICKSPEED, MOVESPEED)
print(colored('''
▄████▄ ▒█████ ██▓ ▒█████ ██▀███ ▄▄▄ ███▄
█ ▄▄▄█████▓
▒██▀ ▀█ ▒██▒ ██▒▓██▒ ▒██▒ ██▒▓██ ▒ ██▒▒████▄ ██ ▀█
█ ▓ ██▒ ▓▒
▒▓█ ▄ ▒██░ ██▒▒██░ ▒██░ ██▒▓██ ░▄█ ▒▒██ ▀█▄ ▓██ ▀█
██▒▒ ▓██░ ▒░
▒▓▓▄ ▄██▒▒██ ██░▒██░ ▒██ ██░▒██▀▀█▄ ░██▄▄▄▄██ ▓██▒
▐▌██▒░ ▓██▓ ░
▒ ▓███▀ ░░ ████▓▒░░██████▒░ ████▓▒░░██▓ ▒██▒ ▓█ ▓██▒▒██░
▓██░ ▒██▒ ░
░ ░▒ ▒ ░░ ▒░▒░▒░ ░ ▒░▓ ░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░░ ▒░ ▒
▒ ▒ ░░
░ ▒ ░ ▒ ▒░ ░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒░ ▒ ▒▒ ░░ ░░ ░
▒░ ░
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ░
░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░


COLOR AIMBOT - v1.1''', 'magenta'))
print()
print(colored('[Info]', 'green'), colored('Set enemies to', 'white'),
colored('Purple', 'magenta'))
print(colored('[Info]', 'green'), colored(f'Press {colored(TOGGLE_KEY,
"magenta")} to toggle ON/OFF Colorant', 'white'))
print(colored('[Info]', 'green'), colored(f'Press', 'white'), colored('F2',
'magenta'), colored('to toggle ON/OFF Detection Window', 'white'))
print(colored('[Info]', 'green'), colored('RightMB', 'magenta'), colored('=
Aimbot,', 'white'))
print(colored('[Info]', 'green'), colored('RightMB', 'magenta'), colored('=
Triggerbot', 'white'))
print(colored('[Info]', 'green'), colored('Home', 'magenta'), colored('=
Silentaim', 'white'))
print(colored('[Info]', 'green'), colored('GitHub Repo:', 'white'),
'\033[35;4mhttps://github.com/hafyzwithawhy/Colorant\033[0m')
print(colored('[Info]', 'green'), colored('Made By', 'white'),
colored('Hafez#6866', 'magenta'))
status = 'Disabled'

try:
while True:
if keyboard.is_pressed(TOGGLE_KEY):
colorant.toggle()
status = 'Enabled ' if colorant.toggled else 'Disabled'
print(f'\r{colored("[Status]", "green")} {colored(status, "white")}',
end='')
time.sleep(0.01)
except (KeyboardInterrupt, SystemExit):
print(colored('\n[Info]', 'green'), colored('Exiting...', 'white') + '\n')
finally:
colorant.close()

if __name__ == '__main__':
main()

Yellow (Best)
[30, 125, 150]
[30, 255, 255]

Yellow 1
[30, 160, 240]
[30, 255, 255]

Yellow 2
[30, 150, 200]
[30, 165, 255]

if self.settings.get('Settings', 'PLAYER-COLOR') == "PURPLE":


lower_color = np.array([140, 120, 180])
upper_color = np.array([160, 200, 255])
elif self.settings.get('Settings', 'PLAYER-COLOR') == "YELLOW":
lower_color = np.array([30, 125, 150])
upper_color = np.array([30, 255, 255])
elif self.settings.get('Settings', 'PLAYER-COLOR') == "RED":
lower_color = np.array([30, 150, 220])
upper_color = np.array([190, 190, 250])

You might also like