Why is my Code not working
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
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