Guest User

Chump Charity Skript

a guest
Jun 1st, 2014
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. variables:
  2. {_prefix} = <gold><bold>[Chump Charity]
  3.  
  4. every 10 minutes:
  5. broadcast "%{_prefix}% &3<bold>The player with the lowest health in 10 seconds will be healed!"
  6. broadcast "&3<bold>10..."
  7. wait 1 second
  8. broadcast "&3<bold>9..."
  9. wait 1 second
  10. broadcast "&3<bold>8..."
  11. wait 1 second
  12. broadcast "&3<bold>7..."
  13. wait 1 second
  14. broadcast "&3<bold>6..."
  15. wait 1 second
  16. broadcast "&3<bold>5..."
  17. wait 1 second
  18. broadcast "&3<bold>4..."
  19. wait 1 second
  20. broadcast "&3<bold>3..."
  21. wait 1 second
  22. broadcast "&3<bold>2..."
  23. wait 1 second
  24. broadcast "&3<bold>1..."
  25. wait 1 second
  26. broadcast "&3<bold>0!"
  27. loop all players:
  28. if {lowest.Health} is not set:
  29. set {lowest.health} to loop-player
  30. if the health of loop-player is less than the health of {lowest.health}:
  31. set {lowest.health} to loop-player
  32. heal {lowest.health} by 10 hearts
  33. broadcast "&3<bold>%{lowest.health}% got the heal!"
Advertisement
Add Comment
Please, Sign In to add comment