Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Autor: Twaq
- #Wersja: 1.0 Beta :P
- #Info: Skype moj w razie czego :* --> Mateusz.Michalski525
- #Info2: Prosze nie pisac czy bede pisac skypty da kogos.
- #Info3: Nie kopiujcie zadnej czesci do swojego skryptu!!!
- #Pozdrawiam!
- #------------------------------ :KOD: ------------------------------
- command /TQSS_Stoniarka [<text>]:
- permission message: &7Na serwerze nie odnaleziono komedy &7/TQSS_Stoniarka
- permission: tq.ally
- trigger:
- if arg 1 is "on":
- if {stoniarka.%player%} is false:
- set {stoniarka.%player%} to true
- send "&aTryb stoniarki Wlaczony!"
- set {anticmd.%player%} to true
- wait 3 tick
- set {anticmd.%player%} to false
- else:
- set {stoniarka.%player%} to true
- send "&aTryb stoniarki Wlaczony!"
- set {anticmd.%player%} to true
- wait 3 tick
- set {anticmd.%player%} to false
- if arg 1 is "off":
- if {stoniarka.%player%} is true:
- set {stoniarka.%player%} to false
- send "&cTryb Stoniarki Wylaczony!"
- set {anticmd.%player%} to true
- wait 3 tick
- set {anticmd.%player%} to false
- else:
- set {stoniarka.%player%} to false
- send "&cTryb Stoniarki Wylaczony!"
- set {anticmd.%player%} to true
- wait 3 tick
- set {anticmd.%player%} to false
- on mine of stone:
- if {stoniarka.%player%} is true:
- wait 5 seconds
- set block to stone
- on join:
- set {stoniarka.%player%} to false
- on right click:
- if clicked block is stone:
- if player is holding any pickaxe:
- if {stoniarka.%player%} is false:
- run player command "/TQSS_Stoniarka on" as op
- if {stoniarka.%player%} is true:
- run player command "/TQSS_Stoniarka off" as op
- on command "/TQSS_Stoniarka":
- if {anticmd.%player%} is true:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment