7mm

Untitled

7mm
Jul 19th, 2018
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. command /.pitfall [<text>] [<text>]:
  2. permission: skript.admin
  3. trigger:
  4. if arg 1 is "offset":
  5. set {_x} to ceil(player's x-coordinate)
  6. set {_y} to ceil(player's y-coordinate)
  7. set {_z} to ceil(player's z-coordinate)
  8. set {pitfall.offset} to location ({_x}, {_y}, {_z})
  9. message "&aオフセットを変更しました(%{_x}%, %{_y}%, %{_z}%)"
Advertisement
Add Comment
Please, Sign In to add comment