sulf Posted October 13, 2021 Share Posted October 13, 2021 Hey guys, i currently have this skript: on block damage: if event-block is barrier: if player's tool is pickaxe: set event-block to air make console execute command "/give %player% barrier 1" issue is, with this current method, it bypasses worldguard - meaning a player could break, in this case, barriers in places they're not permitted to. How could this be rewritten to disallow this? Link to comment Share on other sites More sharing options...
NotKaizo Posted October 14, 2021 Share Posted October 14, 2021 You can check the region that event-block is in. And instead of making console execute the command, you can use skript and write give player 1 of barrier 1 Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now