Skip to content

A simple, quickly made and really useful PMMP 5 that gives you a really slim chance to have a hearth attack

Notifications You must be signed in to change notification settings

newplayerdev/RandomHeartAttack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple and really useful PMMP 5.x plugin that gives you a slim chance of dying of a hearth attack anytime while you are playing.

  • Every player is assigned a random tick lifespan upon joining.
  • This countdown is saved and persists across disconnections.
  • When the time runs out, the player instantly dies from a heart attack.
  • Random Lifespan: from a few seconds up to 300 hours of non-stop gameplay (can be changed in the code if you'd like to)
  • The random lifespan is changed when the player dies form a heart attack

❗ Update:

  • You are now also assigned a max sprinting tick defining how long you can sprint before having a heart attack
  • You can sprint from 5 seconds to 180 seconds before having a heart attack. This can be cancelled by stop sprinting and waiting a few seconds.
  • The random sprint tick is changed when the player dies from a heart attack
image image

If you want to change the lifespawn, go to CardiacPlayer.php on line 54 and edit this code: image

If you want to change the sprint limit, go to CardiacPlayer.php on line 62 and edit this code: image

About

A simple, quickly made and really useful PMMP 5 that gives you a really slim chance to have a hearth attack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages