Advertisement
CREAMPAN0408

Untitled

Dec 26th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. on right click holding a nether star:
  2. name of held item contains "テレポートスター"
  3. loop all items in player's inventory:
  4. if name of loop-item contains "テレポートスター":
  5. if loop-item is equal to nether star:
  6. remove 1 of loop-item from player
  7. set {_temp} to random integer between 1 and 10
  8. if {_temp} is between 6 and 10:
  9. message "テレポートに成功しました!" to player
  10. teleport the player to the location (~.~, 100, ~.~)
  11. else if {_temp} is between 1 and 5:
  12. message "テレポートに失敗しました・・・" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement