Author Topic: Simple gun overheat script  (Read 557 times)

I'm not looking for a fully packaged script, but I need someone to make a script that allows a gun to overheat when being fired too much.

Essentially, every time you fire a gun, it will heat up a little bit (this can be stored on the player like %player.overheat[image]). After you stop firing, the heat will start to decrease to zero after one second.

If you fire too much and your heat exceeds a certain point, then you can't fire and you have to wait until your heat level goes back down to zero.


the chimper 7 has an overheat script. https://forum.blockland.us/index.php?topic=293597.0

only problem is that the weapons overheat resets when you reequip. it might be just be using the image argument instead of the player. can't check though I'm on mobile

keep in mind this overheat makes the weapon explode so you'd have to change that

the chimper 7 has an overheat script. https://forum.blockland.us/index.php?topic=293597.0

only problem is that the weapons overheat resets when you reequip. it might be just be using the image argument instead of the player. can't check though I'm on mobile

keep in mind this overheat makes the weapon explode so you'd have to change that
alright thanks, i'll check this out. those shouldn't be too big of a problem