A FNAF Foxy jumpscare that randomly triggers a fullscreen gif and sound effect while you use your computer. Inspired by the Terraria mod, https://steamcommunity.com/sharedfiles/filedetails/?id=3481943642, but now it works everywhere! Made for NAT
| File | Description |
|---|---|
foxy.py |
The python that does the math! |
foxy-loop.sh |
Bash loop that keeps foxy.py running continuously |
foxy.desktop |
Autostart entry to launch the loop on login |
foxy.gif |
The transparent jumpscare gif |
jumpscare.wav |
The jumpscare sound effect |
-
Create a foxy directory in your home user folder and move all files there:
mkdir ~/foxy cp foxy.py foxy-loop.sh foxy.gif jumpscare.wav ~/foxy/
-
Make the shell script executable:
chmod +x ~/foxy/foxy-loop.sh -
Move the
.desktopfile to your autostart folder:cp foxy.desktop ~/.config/autostart/ -
Reboot. Now you cannot escape!
- Delete the files!
Requires Python and PyQt6:
pip install PyQt6Pulse Audio (maybe works with pipewire if you change the foxy.py)
Only tested on Arch Linux with KDE In theory it should work on any system, but who really knows, I don't :)
At the top of foxy.py you can tweak:
| Variable | Default | Description |
|---|---|---|
CHECK_INTERVAL |
1000 |
How often (in ms) to the script will check if it is jumpscare time |
X_CHANCE |
100000 |
1 in X chance of jumpscare per interval |
With the defaults, the jumpscare has roughly a 1 in 100,000 chance of happening every second.
Program is pretty lightweight and shouldnt cause any issues running every second I think.
I can't say I'm too versed in python and there is probably a better way to write this, but I made it for a friend and thought I'd share.