so i created a sumo skript i set the positions and the lobby and for some reason it doesnt teleport the player this is the teleportation
every second:
loop all players:
if {inProgress} is true:
if loop-player is in world "Sumo":
if {atposition1} is false:
set {players} to random element out of {players::*} parsed as player
teleport {players} to {position1}
remove 1 from {players::*}
set {positiontp1} to false
set {atposition1} to true
wait 10 ticks
stop
else if {atposition2} is false:
set {players} to random element out of {players::*} parsed as player
teleport {players} to {position2}
remove 1 from {players::*}
set {positiontp2} to false
set {atposition2} to true
wait 10 ticks
stop
else:
else:
stop
and here are the variables that is used
variables:
inProgress = false
{joined::%player%} = false
{players::*} = 0
atposition1 = false
atposition2 = false
positiontp1 = true
positiontp2 = true
it doesnt give out any errors just some warnings which are empty configuration sections
every second:
loop all players:
if {inProgress} is true:
if loop-player is in world "Sumo":
if {atposition1} is false:
set {players} to random element out of {players::*} parsed as player
teleport {players} to {position1}
remove 1 from {players::*}
set {positiontp1} to false
set {atposition1} to true
wait 10 ticks
stop
else if {atposition2} is false:
set {players} to random element out of {players::*} parsed as player
teleport {players} to {position2}
remove 1 from {players::*}
set {positiontp2} to false
set {atposition2} to true
wait 10 ticks
stop
else:
else:
stop
and here are the variables that is used
variables:
inProgress = false
{joined::%player%} = false
{players::*} = 0
atposition1 = false
atposition2 = false
positiontp1 = true
positiontp2 = true
it doesnt give out any errors just some warnings which are empty configuration sections