SHARE
TWEET

Untitled

a guest Dec 8th, 2019 135 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on script load:
  2.     broadcast "&e&l&k|||&9&l[&b&lIchinoseYuki Skript - Walk/Fly Speed&9&l]&e&l&k|||&r &7Ver.1.0"
  3.  
  4. command /flyspeed [<string>]:
  5.     aliases: /fs
  6.     trigger:
  7.         if player don't have permission "skript.speed.fly":
  8.             send "&4Error: &rYou don't have permission." if {IY::config::%uuid of player%::language} is "en"
  9.             send "&4失敗: &rそのコマンドを使用する権限がありません。" if {IY::config::%uuid of player%::language} is "ja"
  10.             stop
  11.         if arg is not set:
  12.             send "&4Error: &rSpecify argument for command." if {IY::config::%uuid of player%::language} is "en"
  13.             send "&4失敗: &rコマンドの引数を指定してください。" if {IY::config::%uuid of player%::language} is "ja"
  14.             stop
  15.         if arg parsed as number is not more than 0.99:
  16.             send "&4Error: &rIncorrect argument for command.%nl%&0:      &7/flyspeed &c&n%arg-1%" if {IY::config::%uuid of player%::language} is "en"
  17.             send "&4失敗: &rコマンドの引数の指定が間違っています。%nl%&0:      &7/flyspeed &c&n%arg-1%" if {IY::config::%uuid of player%::language} is "ja"
  18.             stop
  19.         set {_n} to arg parsed as number / 10
  20.         if arg parsed as number is 1:
  21.             set the player's fly speed to 0.1
  22.             send "&aSuccess: &rChanged your fly speed to default." if {IY::config::%uuid of player%::language} is "en"
  23.             send "&a成功: &r飛行スピードをデフォルトに戻しました。" if {IY::config::%uuid of player%::language} is "ja"
  24.             stop
  25.         set the player's fly speed to {_n}
  26.         send "&aSuccess: &rChanged your fly speed to %arg%." if {IY::config::%uuid of player%::language} is "en"
  27.         send "&a成功: &r飛行スピードを%arg%に変更しました。" if {IY::config::%uuid of player%::language} is "ja"
  28.  
  29. command /speed [<string>]:
  30.     aliases: /ws
  31.     trigger:
  32.         if player don't have permission "skript.speed.walk":
  33.             send "&4Error: &rYou don't have permission." if {IY::config::%uuid of player%::language} is "en"
  34.             send "&4失敗: &rそのコマンドを使用する権限がありません。" if {IY::config::%uuid of player%::language} is "ja"
  35.             stop
  36.         if arg is not set:
  37.             send "&4Error: &rSpecify argument for command." if {IY::config::%uuid of player%::language} is "en"
  38.             send "&4失敗: &rコマンドの引数を指定してください。" if {IY::config::%uuid of player%::language} is "ja"
  39.             stop
  40.         if arg parsed as number is not more than 0.99:
  41.             send "&4Error: &rIncorrect argument for command.%nl%&0:      &7/walkspeed &c&n%arg-1%" if {IY::config::%uuid of player%::language} is "en"
  42.             send "&4失敗: &rコマンドの引数の指定が間違っています。%nl%&0:      &7/walkspeed &c&n%arg-1%" if {IY::config::%uuid of player%::language} is "ja"
  43.             stop
  44.         set {_n} to arg parsed as number / 5
  45.         if arg parsed as number is 1:
  46.             set the player's walk speed to 0.2
  47.             send "&aSuccess: &rChanged your walk speed to default." if {IY::config::%uuid of player%::language} is "en"
  48.             send "&a成功: &r歩行スピードをデフォルトに戻しました。" if {IY::config::%uuid of player%::language} is "ja"
  49.             stop
  50.         set the player's walk speed to {_n}
  51.         send "&aSuccess: &rChanged your walk speed to %arg%." if {IY::config::%uuid of player%::language} is "en"
  52.         send "&a成功: &r歩行スピードを%arg%に変更しました。" if {IY::config::%uuid of player%::language} is "ja"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top