Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&a&oCreeper&2&oParanoia&8]
- CC: &f
- HC: &a
- Force: 1 #I'd recommend not going above 3.
- command /creeperparanoia [<text>]:
- trigger:
- if arg-1 is "on" or "enable":
- command sender has permission "skript.creeperparanoia":
- if {CreeperParanoia.Enabled} is not set:
- set {CreeperParanoia.Enabled} to true
- broadcast "{@P}{@CC} Enabled by {@HC}%command sender%!"
- else:
- message "{@P}{@CC} Already enabled!" to the command sender
- stop trigger
- else:
- execute console command "/playsound random.break %command sender% ~ ~ ~ 1 1 1"
- message "{@P}{@CC} You don't have permission for that!" to the command sender
- else if arg-1 is "off" or "disable":
- command sender has permission "skript.creeperparanoia":
- if {CreeperParanoia.Enabled} is true:
- delete {CreeperParanoia.Enabled}
- broadcast "{@P}{@CC} Disabled by {@HC}%command sender%!"
- else:
- message "{@P}{@CC} Already disabled!" to the command sender
- stop trigger
- else:
- execute console command "/playsound random.break %command sender% ~ ~ ~ 1 1 1"
- message "{@P}{@CC} You don't have permission for that!" to the command sender
- else if arg-1 is "toggle" or "switch":
- if {CreeperParanoia.Enabled} is true:
- command sender command "/creeperparanoia off"
- stop trigger
- if {CreeperParanoia.Enabled} is not set:
- command sender command "/creeperparanoia on"
- stop trigger
- else if arg-1 is "help" or "?" or "question" or "info" or "information":
- message "" to the command sender
- if command sender has permission "skript.creeperparanoia":
- message "{@P}{@CC} /creeperparanoia {@HC}on/off/toggle" to the command sender
- message "{@P}{@CC} Scenario by: {@HC}/u/flooft"
- if command sender is "Fleft":
- message "{@P}{@CC} Skript: {@HC}You!" to the command sender
- else:
- message "{@P}{@CC} Skript: {@HC}Fleft" to the command sender
- message "" to the command sender
- message "{@P}{@CC} In Creeper Paranoia, creepers instantly" to the command sender
- message "{@P}{@CC} explode when they track a player." to the command sender
- message "" to the command sender
- else if arg-1 is not set:
- command sender command "/creeperparanoia help"
- else:
- command sender command "/creeperparanoia help"
- on entity target:
- {CreeperParanoia.Enabled} is true:
- entity's target is a player:
- entity is creeper:
- delete entity
- create explosion of force {@Force} at creeper
Advertisement
Add Comment
Please, Sign In to add comment