You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want to create a hub for players to easily travel throughout my games. (Football games like Madden) And for the players who don’t know what stadium we are playing at, I want a player count system that provide the number count.
- What is the issue? Include screenshots / videos if possible!
Well, I’m not a great scripter. I’ve also looked for tutorials, and open-sourced scripts.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve found a few scripts, but it doesn’t match my needs.
local p = game.Players.NumPlayers
local t = script.Parent.Text
local text = ("Players are in the server!")
while true do
if p == 1 then
script.Parent.Text = (p.." Player is in the server!")
else
script.Parent.Text = (p.."Players are in the server!")
end
wait(10)
end
It shows the current game players. I need a script that can track a different PlaceId’s players. Is that possible?
Like if I was to alter the script like this;
local placeid = 0000000
local p = game.placeid.Players.NumPlayers
local t = script.Parent.Text
local text = ("Players are in the server!")
while true do
if p == 1 then
script.Parent.Text = (p.." Player is in the server!")
else
script.Parent.Text = (p.."Players are in the server!")
end
wait(10)
end
This doesn’t work obviously, so can I get some help? Thanks.