Skript version and author not applicable.
I'm trying to teleport players in two different arrays to a location saved as a variable, but the players are not being teleported. Can someone please tell me why this portion of my Skript isn't working? Thanks!
(I've already added players to the arrays and checked with a broadcast. Players are being teleported if I type the raw coordinated, but not with the variable!)
I'm trying to teleport players in two different arrays to a location saved as a variable, but the players are not being teleported. Can someone please tell me why this portion of my Skript isn't working? Thanks!
(I've already added players to the arrays and checked with a broadcast. Players are being teleported if I type the raw coordinated, but not with the variable!)
code_language.skript:
set {blue.spawn} to "-48, 31, 483"
set {red.spawn} to "52, 35, 483"
teleport {blueteam::*} to location {blue.spawn}
teleport {redteam::*} to location {red.spawn}