Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Autor: NewStyleGG
- #Nazwa Skryptu: TnTControl
- #Opis: Blokuje TnT
- #Wersja: v1.0
- variables:
- {tnt.status} = true
- options:
- prefix: &f[TnT Control]
- command /tnt [<text>]:
- trigger:
- if arg 1 is not set:
- player has permission "tnt.control":
- send "&6/tnt on &f- Wlacza TnT"
- send "&6/tnt off &f- Wylacza TnT"
- else:
- send "&4Nie Masz Dostepu Do Tej Komendy"
- if arg 1 is "on":
- player has permission "tnt.control":
- set {tnt.status} to true
- send "{@prefix}: TnT zostalo wlaczone"
- else:
- send "&4Nie Masz Dostepu Do Tej Komendy"
- if arg 1 is "off":
- player has permission "tnt.control":
- set {tnt.status} to false
- send "{@prefix} : TnT zostalo wylaczone"
- else:
- send "&4Nie Masz Dostepu Do Tej Komendy"
- on place tnt:
- if {tnt.status} is false:
- set {tnt.explode} to false
- cancel event
- send "TNT jest wylaczone"
- if {tnt.status} is true:
- set {tnt.explode} to true
Advertisement
Add Comment
Please, Sign In to add comment