Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TeleportService how to Question?

Asked by 9 years ago

Is there a way to get the overall data of the server or starter place? All the current opened servers, the amount of players in the servers, ect..

If so, I would very much like an example.

1 answer

Log in to vote
-1
Answered by 9 years ago

All I know how to do is to get the amount of players in one server.

function getPlayerAmount()
    return game.Players.NumPlayers
end

print(getPlayerAmount())

this will print the amount of players in the server that the script is running on.

0
I mean using TeleportService. Like how Apocalypse Rising has it set up. peoplemove12 148 — 9y
Ad

Answer this question