Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #If you are not wearing armour you will receive Strength II and Resistance II.
- #Gamemode by /u/tagggz
- #Skript by /u/dragon53170
- #Edit as you please <3
- options:
- Prefix: &d[&bNaked&9Warrior&d]
- CC: &f
- HC: &a
- Command: /naked
- SoundCommand: /naked-sound
- Sound: note.bass
- command {@Command} [<text>]:
- permission: skript.op
- trigger:
- if arg 1 is "enable" or "true" or "on":
- if {Naked::Enabled} is true:
- message "{@Prefix}{@CC} Naked Warrior is already {@HC}Enabled"
- else:
- set {Naked::Enabled} to true
- broadcast "{@Prefix}{@CC} Naked Warrior has been {@HC}Enabled {@CC}by {@HC}%command sender%"
- console command "{@SoundCommand}"
- if arg 1 is "disable" or "false" or "off":
- if {Naked::Enabled} is false:
- message "{@Prefix}{@CC} Naked Warrior is already {@HC}Disabled"
- else:
- set {Naked::Enabled} to false
- broadcast "{@Prefix}{@CC} Naked Warrior has been {@HC}Disabled {@CC}by {@HC}%command sender%"
- console command "{@SoundCommand}"
- if arg 1 is "toggle" or "switch":
- if {Naked::Enabled} is true:
- player command "/naked off"
- else:
- player command "/naked on"
- if arg 1 is "status":
- if {Naked::Enabled} is true:
- message "{@Prefix}{@CC} Naked Warrior is currently {@HC}Enabled"
- else:
- message "{@Prefix}{@CC} Naked Warrior is currently {@HC}Disabled"
- if arg 1 is "info" or "about" or "description":
- message "{@Prefix}{@CC} Naked Warrior is a gamemode where if you are wearing"
- message "{@Prefix}{@CC} no armour, you will receive Strength II and Resistance II."
- message "{@Prefix}{@CC} Gamemode by /u/tagggz, Skript by /u/dragon53170"
- if arg 1 is "help" or "?":
- player command "/naked"
- if arg 1 is not set:
- message "{@Prefix}{@CC} {@Command} {@HC}enable {@CC}- to enable Naked Warrior"
- message "{@Prefix}{@CC} {@Command} {@HC}disable {@CC}- to disable Naked Warrior"
- message "{@Prefix}{@CC} {@Command} {@HC}toggle {@CC}- to toggle Naked Warrior"
- message "{@Prefix}{@CC} {@Command} {@HC}status {@CC}- to find the status of Naked Warrior"
- message "{@Prefix}{@CC} {@Command} {@HC}info {@CC}- to read about the Gamemode"
- message "{@Prefix}{@CC} {@Command} {@HC}help {@CC}- to display this page"
- command {@SoundCommand}:
- permission: skript.op
- trigger:
- loop all players:
- console command "/playsound {@Sound} %loop-player%"
- every tick:
- if {Naked::Enabled} is true:
- loop all players:
- loop-player is not wearing helmet or chestplate or leggings or boots:
- set {Naked::%loop-player%} to true
- apply strength 2 to loop-player for 999 days
- apply resistance 2 to loop-player for 999 days
- else:
- if {Naked::%loop-player%} is true:
- remove strength from loop-player
- remove resistance from loop-player
Advertisement
Add Comment
Please, Sign In to add comment