Help pls

  • 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.

Daskomiko

New Member
Apr 23, 2021
6
0
1
24
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
[doublepost=1623091298,1623090762][/doublepost]oh... i found the issue ._. i didnt have a world named "Gravity" xDDD sry
 

Attachments

  • Gravity.txt
    1.9 KB · Views: 132
Status
Not open for further replies.