Nahrát soubory do „“

main
Nexus 2023-01-07 21:11:36 +00:00
parent 7ff6281468
commit 5055d4faec
1 changed files with 24 additions and 0 deletions

24
sgchest (1).sk 100644
View File

@ -0,0 +1,24 @@
variables:
{sgchest} = false
{chestchecker.%player%} = false
command /sgchest [<text>]:
permission: op
trigger:
if arg-1 is not set:
send "&c/sgchest on &7- zapne loot chestiek" to player
send "&c/sgchest off &7- vypne loot chestiek" to player
if arg-1 is "on":
set {sgchest} to true
if arg-1 is "off":
set {sgchest} to false
on right click:
if clicked block is chest:
set {chestchecker.%player%} to true
set {chest_cords.%player%} to clicked block
on inventory close:
if {chestchecker.%player%} is true:
set {chestchecker.%player%} to false
break the block at {chest_cords.%player%}