r/Tf2Scripts • • Nov 03 '20

Resolved Game breaks with a custom toggle script

I created a simple Toggle Script for testing and it worked properly on the first time, but when I toggle it off and on again, my game suddenly stops, the image gets frozen, and to kill the process of the game I have to do it blindly.

Why does it happen? I've noticed that it happens just with toggles, even more complex scripts work properly.

0 Upvotes

4 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Nov 03 '20

At first it was just a script for the spy's convenience (Advanced Disguising, fast combos, fast weapon switch, etc); But I'm not testing a kind of "Anti-Afk", for pure study purpose, I'm not that kind of player ya know.