|
| 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 |
|
|
|
| 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 |
|
|
|
| 24 Jun 2012 04:36 PM |
| Im not that good in scripting im kinda in between easy and middle of scripting |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2012 04:36 PM |
| Then you definitely shouldn't make an attempt at this. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 24 Jun 2012 04:53 PM |
| I dont understand iv in pairs stuff ugh I wish I had my scripter friend MrMcAero |
|
|
| Report Abuse |
|
|