1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help pls

Discussion in 'Skript' started by Daskomiko, Jun 7, 2021.

Thread Status:
Not open for further replies.
  1. Daskomiko

    Daskomiko New Member

    Joined:
    Apr 23, 2021
    Messages:
    6
    Likes Received:
    0
    Why is my Code not working :emoji_frowning:
    I've compared everything to my other scripts but the plugin always says there is an error when there is none

    variables:
    {pr} = "&4G&6r&ea&2v&ai&bt&9y &8»"

    on world change:
    wait 1 second
    player's world = "Gravity":
    add 1 to {gravl}
    if {gravl} is greater than 1:
    send "%{pr}% &aDas Spiel beginnt in &e60 Sekunden" to all players in "Gravity"
    wait 10 seconds
    send "%{pr}% &aDas Spiel beginnt in &e50 Sekunden" to all players in "Gravity"
    wait 10 seconds
    send "%{pr}% &aDas Spiel beginnt in &e40 Sekunden" to all players in "Gravity"
    wait 10 seconds
    send "%{pr}% &aDas Spiel beginnt in &e30 Sekunden" to all players in "Gravity"
    wait 10 seconds
    send "%{pr}% &aDas Spiel beginnt in &e20 Sekunden" to all players in "Gravity"
    wait 10 seconds
    send "%{pr}% &aDas Spiel beginnt in &e10 Sekunden" to all players in "Gravity"
    wait 5 seconds
    send title "%{pr}%" with subtitle "&a5" to all players in "Gravity"
    wait 1 second
    send title "%{pr}%" with subtitle "&24" to all players in "Gravity"
    wait 1 second
    send title "%{pr}%" with subtitle "&e3" to all players in "Gravity"
    wait 1 second
    send title "%{pr}%" with subtitle "&62" to all players in "Gravity"
    wait 1 second
    send title "%{pr}%" with subtitle "&c1" to all players in "Gravity"
    wait 1 second
    send title "%{pr}%" with subtitle "&aStart" to all players in "Gravity"
    teleport all players in "Gravity" to {warp.gravstart}
    subtract {gravl} from {gravl}
    set {gravstart} to false

    on rightclick on sign:
    if line 1 is "&4Gr&2av&9ity":
    if line 2 is "&6Map: &9Colors":
    if line 4 is "&c&lNEW!!!":
    if {gravstart} is "false":
    send "%{pr}% &cDie Runde läuft aktuell! Du kannst nicht zusehen!"
    if {gravstart} is "true":
    teleport player to {warp.gravstart}
    set player's gamemode to adventure
    set player's flight mode to false

    on load:
    set {gravstart} to "true"



    it says alaways, that "| send "message" to all players in "Gravity" |" is not working
    --- Double Post Merged, Jun 7, 2021, Original Post Date: Jun 7, 2021 ---
    oh... i found the issue ._. i didnt have a world named "Gravity" xDDD sry
     

    Attached Files:

  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    39
    please mark this as solved
     
    • Agree Agree x 2
Thread Status:
Not open for further replies.

Share This Page

Loading...