r/Tf2Scripts • • Apr 12 '22

Script Kill and Explode in a single button

alias -die "kill"

bind b "+die; wait 35; explode"

A quick press on the B key will use the "kill" command, but when you hold it for a defined amount of time, the "explode" command will be used instead.

Note that this will add a slight delay to the kill bind, dictated by the time you take to get your finger off the suicide key (almost unnoticeable)

This will not work properly on servers that disable the "wait" command.

You have only so many buttons to assign binds to. Use them efficiently!

8 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/just_a_random_dood Apr 13 '22

Yeah, it's fun, but having to wait for it is a detriment (as well as using wait in general y'know), so I was just wondering why do this at all, other than for fun.