Last active
June 20, 2025 10:09
-
-
Save Jourdelune/1a69eaa4e61f7b62711465312246005b to your computer and use it in GitHub Desktop.
Run high jump glith for roblox with sober
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEVICE="/dev/input/event19" # change with the name of your input (evtest) | |
STATE="running" | |
STATE_FILE="/tmp/sober_state" | |
evtest "$DEVICE" | while read -r line; do | |
sleep 0.01 | |
if echo "$line" | grep -q "EV_KEY.*KEY_V.*value 1"; then | |
PIDS=($(pidof sober)) | |
if [[ ${#PIDS[@]} -eq 0 ]]; then | |
echo "[!] Aucun processus sober trouvé." | |
continue | |
fi | |
if [[ "$STATE" == "running" ]]; then | |
for pid in "${PIDS[@]}"; do | |
kill -SIGSTOP "$pid" | |
done | |
echo "[STOP] sober (PID ${PIDS[*]})" | |
STATE="stopped" | |
echo "stopped" > "$STATE_FILE" | |
else | |
for pid in "${PIDS[@]}"; do | |
kill -SIGCONT "$pid" | |
done | |
echo "[CONTINUE] sober (PID ${PIDS[*]})" | |
STATE="running" | |
echo "running" > "$STATE_FILE" | |
fi | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment