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

Is there any way to determine the player count in another game?

Asked by 5 years ago
Edited 5 years ago

I was wondering if there is any way to determine the player count in an attraction, to add a sign with the wait time in the theme park that this attraction belongs to

All attractions are separate games. I do have this script to show a wait time on a sign in the attraction itself

game.Players.PlayerAdded:connect(function()
Label = script.Parent.TextLabel
Players = game.Players:GetPlayers()
Label.Text = #Players * 5
end)

game.Players.PlayerRemoving:connect(function()
Label = script.Parent.TextLabel
Players = game.Players:GetPlayers()
Label.Text = #Players * 5
end)

This script adds 5 minutes to the wait time every time a player joins that game, but I'm trying to find a way to determine the player count from a different game.

Is there anyone who could help me out with this?

1
HTTP protocols DeceptiveCaster 3761 — 5y

Answer this question