Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {_prefix} = <gold><bold>[Chump Charity]
- every 10 minutes:
- broadcast "%{_prefix}% &3<bold>The player with the lowest health in 10 seconds will be healed!"
- broadcast "&3<bold>10..."
- wait 1 second
- broadcast "&3<bold>9..."
- wait 1 second
- broadcast "&3<bold>8..."
- wait 1 second
- broadcast "&3<bold>7..."
- wait 1 second
- broadcast "&3<bold>6..."
- wait 1 second
- broadcast "&3<bold>5..."
- wait 1 second
- broadcast "&3<bold>4..."
- wait 1 second
- broadcast "&3<bold>3..."
- wait 1 second
- broadcast "&3<bold>2..."
- wait 1 second
- broadcast "&3<bold>1..."
- wait 1 second
- broadcast "&3<bold>0!"
- loop all players:
- if {lowest.Health} is not set:
- set {lowest.health} to loop-player
- if the health of loop-player is less than the health of {lowest.health}:
- set {lowest.health} to loop-player
- heal {lowest.health} by 10 hearts
- broadcast "&3<bold>%{lowest.health}% got the heal!"
Advertisement
Add Comment
Please, Sign In to add comment