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 » Scripting Helpers
Home Search
 

Re: LeaderBoard {How would I}

Previous Thread :: Next Thread 
Dragonstar1433 is not online. Dragonstar1433
Joined: 18 Sep 2011
Total Posts: 272
24 Jun 2012 04:31 PM
So how would I make the leaderboard for the obstacle course that is like says player name and then stage and whenever they hit a new spawn it goes up 1 like spawn 1:1 spawn 2:2 spawn 3:3 and so on and then when try going back a spawn it doesn't allow you to switch back.
Report Abuse
Bob123456789103570 is not online. Bob123456789103570
Joined: 23 Dec 2008
Total Posts: 9531
24 Jun 2012 04:34 PM
Use a Gui. Add an "if value > currentvalue" tag for a NumberValue in Lighting. Use an onPlayerRespawned function to MoveTo the player's character. Use ipairs to edit the Gui on all users.

These are just some ideas.
Report Abuse
Dragonstar1433 is not online. Dragonstar1433
Joined: 18 Sep 2011
Total Posts: 272
24 Jun 2012 04:36 PM
Im not that good in scripting im kinda in between easy and middle of scripting
Report Abuse
Bob123456789103570 is not online. Bob123456789103570
Joined: 23 Dec 2008
Total Posts: 9531
24 Jun 2012 04:36 PM
Then you definitely shouldn't make an attempt at this.
Report Abuse
Dragonstar1433 is not online. Dragonstar1433
Joined: 18 Sep 2011
Total Posts: 272
24 Jun 2012 04:38 PM
Well I wanna try to do it because then there would be too many teams for them to scroll up and down.
Report Abuse
Dragonstar1433 is not online. Dragonstar1433
Joined: 18 Sep 2011
Total Posts: 272
24 Jun 2012 04:38 PM
Well I wanna try to do it because then there would be too many teams for them to scroll up and down.
Report Abuse
Dragonstar1433 is not online. Dragonstar1433
Joined: 18 Sep 2011
Total Posts: 272
24 Jun 2012 04:38 PM
Double post accident o.o
Report Abuse
Bob123456789103570 is not online. Bob123456789103570
Joined: 23 Dec 2008
Total Posts: 9531
24 Jun 2012 04:43 PM
onPlayerEntered, create a new NumberValue using their name (and put it in Lighting so it is still there if they die). Have an onPlayerRespawned script that checks the Value of this NumberValue and moves the player's character to the corresponding position (or that of a block to make it simpler). Create a Gui with the number of MaxPlayers in rows of some sort and use ipairs to edit it within the players' PlayerGuis. For the touched event, ask if the Value is less than the Value that the spawn contains.

That's the simplest way to do it.
Report Abuse
Dragonstar1433 is not online. Dragonstar1433
Joined: 18 Sep 2011
Total Posts: 272
24 Jun 2012 04:53 PM
I dont understand iv in pairs stuff ugh I wish I had my scripter friend MrMcAero
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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