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

How do I make a playerlist that only teleports players when they are in the frame?

Asked by
azobo 4
4 years ago

I am creating a game where once players are ready, the players will be able to teleport to the place where the game is. I would like to know a few things with this:

  1. How do I make a playerlist frame so that when players hit the play button, their name comes up in the playerlist, but when they hit the back button, their name gets removed from the playerlist in the frame
  2. When the timer hits 0, I would like to know how I can get all the players that are in the playerlist to teleport to the places, and the players that are in the menu and not in the playerlist stay in the menu. Thanks for your help!

1 answer

Log in to vote
0
Answered by 4 years ago

Create a Table for the players. If a player wants to join they click a button and get insertted into the table, if they back out, they are removed from the table.

https://developer.roblox.com/en-us/api-reference/lua-docs/table

0
@FishslayerX Thank you and I will try to do thisQ azobo 4 — 4y
0
No problem, hope this gets you on the path you need FishslayerX 8 — 4y
Ad

Answer this question