Lava Titan
Developer
Code:
local specs = Game.getSpectators(Position(1000,1000,7), false, true, 0, 150, 0, 150)
for i = 1, #specs do
if specs[i] >= 1 then
specs[i]:teleportTo(specs[i]:getTown():getTemplePosition(), false)
end
end
I was trying to teleport all players in radius X and Y of 150 to temple but it's not working
Can any1 tell me what did I do wrong :x?