moeycvbn12

Untitled

Dec 18th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. #Script made by H4wki
  2. #YT: H4wki
  3. #Twitch: H4wkicr
  4. #U can use4all <3
  5.  
  6. options:
  7. clayfallworld: clayfall #The name of your Clayfall-World.
  8.  
  9.  
  10.  
  11. On walk on green clay:
  12. if player is in world "{@clayfallworld}":
  13. set block under player to yellow clay
  14.  
  15.  
  16.  
  17. On walk on yellow clay:
  18. if player is in world "{@clayfallworld}":
  19. set block under player to red clay
  20.  
  21.  
  22. On walk on red clay:
  23. if player is in world "{@clayfallworld}":
  24. set block under player to air
  25.  
  26.  
  27.  
  28. command /setloseheight:
  29. trigger:
  30. if player has permission "clayfall.setloseheight":
  31. set {loseheight} to y-coordinate of player
  32. send "&8[&aClay&eFall&8] &aSet Loseheight&8!"
  33.  
  34.  
  35. command /setlosespawn:
  36. trigger:
  37. if player has permission "clayfall.setloseheight":
  38. set {loserspawn} to location of player
  39. send "&8[&aClay&eFall&8] &aSet LoserSpawn&8!"
  40.  
  41.  
  42. On any movement:
  43. if player is in world "{@clayfallworld}":
  44. if y-coordinate of player is smaller than {loseheight}:
  45. teleport player to {loserspawn}
  46. send "&8[&aClay&eFall&8] &cYou Lose&8!"
Add Comment
Please, Sign In to add comment