every 1 minute error

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

MEncrp

New Member
Jul 13, 2018
6
0
0
18
Hello... i this code not have any error
upload_2018-12-10_17-57-23.png

i try there code:

code_language.skript:
every 1 minute in "world" or "1":
    add 1 to {遊玩時間}
    loop all players:
        if {遊玩時間} is "25":
            send "&c[系統] &6您將在5分鐘後傳送至其他地圖" to loop-player
            stop trigger
        if {遊玩時間} is "27":
            send "&c[系統] &6您將在3分鐘後傳送至其他地圖" to loop-player
            stop trigger
        if {遊玩時間} is "29":
            send "&c[系統] &6您將在1分鐘後傳送至其他地圖" to loop-player
            stop trigger
        if {遊玩時間} is "30":
            send "&c[系統] &6您將在10秒後傳送到其他地圖" to loop-player
            wait 5 second
            send "&c[系統] &6您將在5秒後傳送到其他地圖" to loop-player
            wait 1 second
            send "&c[系統] &6您將在4秒後傳送到其他地圖" to loop-player
            wait 1 second
            send "&c[系統] &6您將在3秒後傳送到其他地圖" to loop-player
            wait 1 second
            send "&c[系統] &6您將在2秒後傳送到其他地圖" to loop-player
            wait 1 second
            send "&c[系統] &6您將在1秒後傳送到其他地圖" to loop-player
            wait 1 second
            send "&c[系統] &6您已被傳送到了其他地圖!" to loop-player
            set {遊玩時間} to 0
            if {世界替換號} is "10":
                set {世界替換號} to 0
            add 1 to {世界替換號}
            execute console command  "/effect %loop-player% 11 10 100"
            execute console command "tp %loop-player% ~ 160 ~"
"
don't work
 

Attachments

  • upload_2018-12-10_17-57-42.png
    upload_2018-12-10_17-57-42.png
    1.1 MB · Views: 192
Status
Not open for further replies.