Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on region exit:
- if gamemode of player is creative:
- if player has permission "skript.bypass.creativedisable":
- message "&aYou bypassed the Creative disable on region exit block for Survival 5.0." to player
- stop
- wait 10 ticks
- set {_region} to location of player
- if player is owner of region at {_region}:
- stop
- play BLOCK NOTE BASS at player with pitch 0.7
- message "&cCreative is disabled outside of your claim. Disabling creative in &43 &cseconds." to player
- wait 1 seconds
- play BLOCK NOTE BASS at player with pitch 0.5
- message "&cCreative is disabled outside of your claim. Disabling creative in &42 &cseconds." to player
- wait 1 seconds
- play BLOCK NOTE BASS at player with pitch 0.3
- message "&cCreative is disabled outside of your claim. Disabling creative in &41 &csecond." to player
- wait 1 seconds
- play ENTITY VILLAGER NO at player with pitch 0.4
- set player's gamemode to survival
- message "&cYou are now in Survival mode." to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement