Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #= #Bow =#
- #= Skript by Fawful55 =#
- command /bow <text>:
- description: bow Enable:Disable:Toggle
- usage: /bow <enable:disable:toggle>
- player is op
- trigger:
- if arg 1 is "enable":
- set {bow} to true
- message "&a#Bow Enabled"
- if arg 1 is "disable":
- set {bow} to false
- message "&c#Bow Disabled"
- if arg 1 is "toggle":
- if {bow} is true:
- set {bow} to false
- message "&c#Bow Disabled"
- stop
- if {bow} is false:
- set {bow} to true
- message "&a#Bow Enabled"
- stop
- every second:
- if {bow} is true
- apply fire resistence to all players for 1 second
- on damage:
- if {bow} is true
- damage was caused by contact from entity
- entity is player
- cancel event
- on left click of sword:
- if {bow} is true
- replace %item% with air
- on craft of sword
- if {bow} is true
- kick player due to "You may not craft %item%!"
Advertisement
Add Comment
Please, Sign In to add comment