Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Prevent Creative from placing and breaking blocks and changing gamemode outside their region in Creative
- on gamemode change to creative:
- if player has permission "skript.creative.block.bypass":
- message "&aYou bypassed the Creative block for Survival 5.0." to player
- stop
- set {_region} to location of player
- if player is owner of region at {_region}:
- stop
- wait 10 ticks
- play BLOCK NOTE BASS at player with pitch 0.5
- message "&cCreative is only allowed within your own claim." to player
- set gamemode of player to survival
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement