Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /Acrophobia <text>:
- description: Acrophobia Enable:Disable:Toggle
- usage: /Acrophobia <enable:disable:toggle>
- permission: Acrophobia.admin
- trigger:
- if arg 1 is "enable":
- set {Acrophobia} to true
- broadcast "&6[&BAcrophobia&6] &CEnabled!"
- if arg 1 is "disable":
- set {Acrophobia} to false
- broadcast "&6[&BAcrophobia&6] &CDisabled!"
- if arg 1 is "toggle":
- if {Acrophobia} is true:
- set {Acrophobia} to false
- broadcast "&6[&BAcrophobia&6] &CDisabled!"
- stop
- if {Acrophobia} is false:
- set {Acrophobia} to true
- broadcast "&6[&BAcrophobia&6] &CEnabled!"
- stop
- command /CreateHoles <number> <number>:
- description: Creates void holes
- usage: /CreateHoles <number of holes> <radius>
- permission: Acrophobia.admin
- trigger:
- set {holes} to argument 1
- set {radius} to argument 2
- set {neg_radius} to 0 - {radius}
- set {holes_created} to 0
- while {holes_created} is less than {holes}:
- set {_x} to random integer between {neg_radius} and {radius}
- set {_z} to random integer between {neg_radius} and {radius}
- set {_y} to 0
- set {holes_created} to {holes_created} + 1
- while {_y} is less than 200:
- set block at the location ({_x}, {_y}, {_z}) to air
- set {_y} to {_y} +1
- broadcast "&6[&BAcrophobia&6]&C %{holes}% holes created!"
- every second:
- loop all players:
- if {Acrophobia} is true:
- altitude of loop-player is greater than 80:
- apply nausea to the loop-player for 999 minutes
- altitude of loop-player is less than 80:
- remove nausea from the loop-player
- every second:
- loop all players:
- if {Acrophobia} is true:
- altitude of loop-player is greater than 100 :
- apply blindness to the loop-player for 999 minutes
- altitude of loop-player is less than 100:
- remove blindness from the loop-player
- on drink of milk bucket:
- if {Acrophobia} is true:
- cancel the event
- # Skript made by LuckyLucario99
- # Gamemode Idea by TheInvincibleCow
Advertisement
Add Comment
Please, Sign In to add comment