Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foxy Jumpscare

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

Files

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

Installation

  1. 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/
  2. Make the shell script executable:

    chmod +x ~/foxy/foxy-loop.sh
  3. Move the .desktop file to your autostart folder:

    cp foxy.desktop ~/.config/autostart/
  4. Reboot. Now you cannot escape!

Uninstall

  1. Delete the files!

Dependencies

Requires Python and PyQt6:

pip install PyQt6

Pulse 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 :)

Configuration

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.

Misc

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.

About

1 in 100000 chance of a Foxy Jumpscare!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages