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 comment

1

HTTP protocols