Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
on break of stone:
cancel event
on break of stone:
if player has permission "*":
stop
else:
cancel event
on any move:
if targeted block is stone:
set gamemode of player to adventure
else:
set gamemode of player to survival
on right click:
if targeted block is stone:
set gamemode of player to adventure
else:
set gamemode of player to survival
on left click:
if targeted block is stone:
set gamemode of player to adventure
else:
set gamemode of player to survival
i still see the block break animation ? how do i cancel thatJust cancel the block damage event if the event-block is stone.
well its not a stupid.... but i know you can do it. Just need someone with packet animation knowledgeI don't think that's possible, unless you use this (this lags a lot, and doesn't work 100% of the time)
I don't recommend using this, but you can set the gamemode of players to adventure and give them items to only break *block* (NBT tags)
code_language.skript:on any move: if targeted block is stone: set gamemode of player to adventure else: set gamemode of player to survival on right click: if targeted block is stone: set gamemode of player to adventure else: set gamemode of player to survival on left click: if targeted block is stone: set gamemode of player to adventure else: set gamemode of player to survival
nvm, i found out how to do itI don't think that's possible, unless you use this (this lags a lot, and doesn't work 100% of the time)
I don't recommend using this, but you can set the gamemode of players to adventure and give them items to only break *block* (NBT tags)
code_language.skript:on any move: if targeted block is stone: set gamemode of player to adventure else: set gamemode of player to survival on right click: if targeted block is stone: set gamemode of player to adventure else: set gamemode of player to survival on left click: if targeted block is stone: set gamemode of player to adventure else: set gamemode of player to survival