Guest User

Untitled

a guest
May 25th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. every 8 seconds:
  2. loop all players:
  3. if loop-player's held item is a torch with name "&cLighter":
  4. add 0.6 to {temp4::%loop-player's uuid%}
  5. if {temp4::%loop-player's uuid%} is more than 106:
  6. if "%region at loop-player%" doesn't contain "hotspring1":
  7. if {warned::%loop-player%} isn't true:
  8. set {warned::%loop-player%} to true
  9. broadcast "%{warned::%loop-player%}%"
  10. send "&f&lN&1&lB&f >>&c Your lungs are starting to get weak from all the smoke inhalation; put your lighter away until your temperate reaches below 106, or face death." to loop-player
  11. wait 45 seconds
  12. if {temp4::%loop-player's uuid%} is more than 106:
  13. broadcast "[&fNorth&1Bound&f] &9%loop-player%&f has died of excess smoke inhalation."
  14. kill the loop-player
  15. set {warned::%loop-player%} to false
  16. broadcast "set false"
  17. else:
  18. set {warned::%loop-player%} to false
  19. broadcast "set false"
  20. if {bleeding::%loop-player%::count} is more than 0:
  21. damage the loop-player by 0.5 hearts
  22. if loop-player's health is less than 0.5:
  23. broadcast "[&fNorth&1Bound&f]&9 %loop-player%&f has bled to death."
  24. set {bleeding::%loop-player%::count} to 0
  25. loop all blocks in radius 10 of loop-player:
  26. if loop-block is a campfire or fire:
  27. if loop-block isn't an unlit campfire:
  28. set {campfire.%loop-player%} to true
  29. else:
  30. set {campfire.%loop-player%} to false
  31. else:
  32. set {campfire.%loop-player%} to false
  33. if time in world "ul_hmnts2" is night:
  34. set {time} to "night"
  35. if time in world "ul_hmnts2" is day:
  36. set {time} to "day"
  37. if {thirst::%loop-player's uuid%} isn't below 1:
  38. remove 0.4 from {thirst::%loop-player's uuid%}
  39. else:
  40. send "&f&lN&1&lB&f >>&c Your thirst is at 0, you will die in 15 seconds if you do not get water intake." to loop-player
  41. wait 15 seconds
  42. if {thirst::%loop-player's uuid%} isn't more than 1:
  43. kill the loop-player
  44. broadcast "[&fNorth&1Bound&f] &9%loop-player%&f has died of thirst."
  45. if "%region at loop-player%" contains "hotspring":
  46. if block at loop-player is water:
  47. add 2 to {temp4::%loop-player's uuid%}
  48. if {temp4::%loop-player's uuid%} is more than 105:
  49. send "&f&lN&1&lB&f >>&c It's getting way too hot...You have about 20 seconds to exit the hotspring before you burn to death..." to loop-player
  50. wait 20 seconds
  51. if block at loop-player is water:
  52. kill the loop-player
  53. broadcast "[&fNorth&1Bound&f] &9%loop-player%&f burned to death."
Advertisement
Add Comment
Please, Sign In to add comment