Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chump <text>:
- permission: skript.op
- usage: /Chump <start:stop>
- trigger:
- if arg 1 is "start":
- broadcast "&bChump Charity has been enabled!"
- set {Chump} to true
- if arg 1 is "stop":
- broadcast "&cChump Charity has been disabled!"
- set {Chump} to false
- variables:
- {prefix} = <gold><bold>[Chump Charity]
- every 10 Minutes:
- if {Chump} is true:
- 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!"
- delete {lowest.health}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement