Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Anyone know what I'm doing wrong and if you can help me fix it? highlighted in green is what i'm trying to achieve in the script below
- # AstralDrop - applies regeneration 1 and health boost 2 to the player for a short period of time. player must have ghast tear for Astral effects to be applied, (cooldown = 5 minutes). So on right click -> if player is holding ghast tear -> apply effects. if player doesn't have stick -> cancel
- on right click holding ghast tear:
- make player execute /astraldrop
- command /astraldrop:
- trigger:
- set {_waited} to difference between {astraldrop.%player%.lastused} and now
- if {_waited} is less than 5 minutes:
- message: &7[&e&lHumble&7] &cYou're on cooldown! Wait 5 minutes before using this again!
- player doesn't have ghast tear
- cancel trigger
- if {_waited} is greater than 301 seconds
- apply potion of regeneration 2 to player for 6 seconds
- apply potion of health boost to player for 14 seconds
- message: &7You have used the power of the &f&lAstral Drop &7use this short burst of power wisely.
- # Pogo Stick - launcher player into the air (push player upwards). Players must have stick for it to work, (cooldown of 15 seconds)
- on right click holding stick:
- make player execute /pogo
- command /pogo
- trigger:
- set {_waited} to difference between {pogo.%player%.lastused} and now
- if {_waited} is less than 15 seconds:
- message: &7[&e&lHumble&7] &cYou're on cooldown! Wait 15 seconds before using this again!
- player doesn't have stick
- cancel trigger
- if {_waited} is greater than 16 seconds
- push player upwards
- message: &7&oWhooosh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement