generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: Team Help

Previous Thread :: Next Thread 
SirTheCaz is not online. SirTheCaz
Joined: 22 Jun 2013
Total Posts: 8
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 is online. 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
SirTheCaz is not online. SirTheCaz
Joined: 22 Jun 2013
Total Posts: 8
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 is online. WestonTC
Joined: 05 Oct 2015
Total Posts: 74
24 Jul 2017 03:28 PM
Np, happy I could help!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image