LuckyLucario99

Acrophobia Skript by LuckyLucario99

Sep 27th, 2015
1,012
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. command /Acrophobia <text>:
  2. description: Acrophobia Enable:Disable:Toggle
  3. usage: /Acrophobia <enable:disable:toggle>
  4. permission: Acrophobia.admin
  5. trigger:
  6. if arg 1 is "enable":
  7. set {Acrophobia} to true
  8. broadcast "&6[&BAcrophobia&6] &CEnabled!"
  9. if arg 1 is "disable":
  10. set {Acrophobia} to false
  11. broadcast "&6[&BAcrophobia&6] &CDisabled!"
  12. if arg 1 is "toggle":
  13. if {Acrophobia} is true:
  14. set {Acrophobia} to false
  15. broadcast "&6[&BAcrophobia&6] &CDisabled!"
  16. stop
  17. if {Acrophobia} is false:
  18. set {Acrophobia} to true
  19. broadcast "&6[&BAcrophobia&6] &CEnabled!"
  20. stop
  21.  
  22.  
  23. command /CreateHoles <number> <number>:
  24. description: Creates void holes
  25. usage: /CreateHoles <number of holes> <radius>
  26. permission: Acrophobia.admin
  27. trigger:
  28. set {holes} to argument 1
  29. set {radius} to argument 2
  30. set {neg_radius} to 0 - {radius}
  31. set {holes_created} to 0
  32. while {holes_created} is less than {holes}:
  33. set {_x} to random integer between {neg_radius} and {radius}
  34. set {_z} to random integer between {neg_radius} and {radius}
  35. set {_y} to 0
  36. set {holes_created} to {holes_created} + 1
  37. while {_y} is less than 200:
  38. set block at the location ({_x}, {_y}, {_z}) to air
  39. set {_y} to {_y} +1
  40. broadcast "&6[&BAcrophobia&6]&C %{holes}% holes created!"
  41.  
  42.  
  43. every second:
  44. loop all players:
  45. if {Acrophobia} is true:
  46. altitude of loop-player is greater than 80:
  47. apply nausea to the loop-player for 999 minutes
  48. altitude of loop-player is less than 80:
  49. remove nausea from the loop-player
  50.  
  51. every second:
  52. loop all players:
  53. if {Acrophobia} is true:
  54. altitude of loop-player is greater than 100 :
  55. apply blindness to the loop-player for 999 minutes
  56. altitude of loop-player is less than 100:
  57. remove blindness from the loop-player
  58.  
  59. on drink of milk bucket:
  60. if {Acrophobia} is true:
  61. cancel the event
  62.  
  63.  
  64.  
  65.  
  66.  
  67. # Skript made by LuckyLucario99
  68. # Gamemode Idea by TheInvincibleCow
Advertisement
Add Comment
Please, Sign In to add comment