|
| 24 Jul 2017 01:59 PM |
| Is there a way to make it so that a team won't show up on the leaderboard until the person joins the game? We have a script that automatically teams certain players, but we don't want other people to see the tams and wonder how they can become that. |
|
|
| Report Abuse |
|
|
WestonTC
|
  |
| Joined: 05 Oct 2015 |
| Total Posts: 74 |
|
|
| 24 Jul 2017 03:11 PM |
You could make a script that creates a team when a pre-determined player joins the game. Something like:
function onPlayerAdded (player) --Fires when a player joins
if player = "(Playernamegoeshere)" then --Sees if the player is the one that would join the team
instance.new ("Team") --Creates the team (Under this you would set the properties of the team)
The above script is just a rough outline. It probably has a lot of errors just waiting to happen. It sounds like you have some scripting expertise, so you can probably make your own script using this as an outline.
Hope this helps!
|
|
|
| Report Abuse |
|
|
|
| 24 Jul 2017 03:23 PM |
| Thank you so much! My friend and I are making a game and we needed this, so thank you! |
|
|
| Report Abuse |
|
|
WestonTC
|
  |
| Joined: 05 Oct 2015 |
| Total Posts: 74 |
|
| |
|