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: Values.

Previous Thread :: Next Thread 
OBF is not online. OBF
Joined: 29 Sep 2009
Total Posts: 10709
26 May 2010 04:54 PM
How do I add values in for a leaderboard?
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 04:58 PM
Player
- Leaderstats (IntValue)
- - All the values (Integer or Number Value)
Report Abuse
Drenkus is not online. Drenkus
Joined: 03 May 2009
Total Posts: 2380
26 May 2010 04:58 PM
IntValue's
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
26 May 2010 05:41 PM
Actually, leaderstats have to go in lower case...
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 05:43 PM
You got me there :3

Long time no speak axel :o
No wearing ninjamasks anymore? Bummer, I though I was imitating my hero D:
Report Abuse
Swordphin123 is online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
26 May 2010 05:47 PM
local variablehere = Instance.new("IntValue")
variablehere.Name = "VariableName"
variablehere.Value = 0
variablehere.Parent = stats
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 05:49 PM
variablehere.Parent = stats

Lets play 'spot the error' :D
Report Abuse
Swordphin123 is online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
26 May 2010 05:49 PM
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
stats.Parent = newPlayer

x3 LOL figure the rest yourself
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 05:50 PM
Dude, OBF knows how to instance new objects. He was asking how the leaderboard works :P
Report Abuse
Swordphin123 is online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
26 May 2010 05:53 PM
leaderboard shows statistics of values of each player =D theres the answer!
Report Abuse
OBF is not online. OBF
Joined: 29 Sep 2009
Total Posts: 10709
26 May 2010 05:53 PM
I can instance objects fairly well, but for some reason, everyone who comes in slips past my scripts.:P

Mind showing me the onEntered function?
Report Abuse
Swordphin123 is online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
26 May 2010 05:54 PM
I meant the things you add onto it x3 i sound so dumb right now =D
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 05:54 PM
game.Players.PlayerAdded:connect(function (New_Midget) print(New_Midget.Name) end)

Yay :D
Report Abuse
Swordphin123 is online. Swordphin123
Joined: 09 Apr 2008
Total Posts: 5234
26 May 2010 05:55 PM
funtion onPlayerEntered(newPlayer)
--stuffz
end

game.Players.ChildAdded:connect(onPlayerEntered) ---hehe

~~~

LOL
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 05:58 PM
just use the PlayerAdded event ;)
Report Abuse
OBF is not online. OBF
Joined: 29 Sep 2009
Total Posts: 10709
26 May 2010 06:05 PM
Thanks whats-his-face. :P

(the guy above the guy above meh)
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 06:06 PM
You know who I am >:O

Well this is my alt but only one number in my username is changed T_T"
Report Abuse
ElectricAxel is not online. ElectricAxel
Joined: 15 May 2009
Total Posts: 16239
26 May 2010 06:07 PM
Indeed its been long, and yes, I like this formal stuff... Hero? Also, I just went on a buying rampage, waste my 2K+ tic buying ROBUX to waste 100 getting the sword, then 40 for the eyes, and about 100 tix buying something that would match ...

Thread Maker, Use PlayerAdded when you want 'onEntered' script, because any other thing added to the Player service will break your script.
Report Abuse
OBF is not online. OBF
Joined: 29 Sep 2009
Total Posts: 10709
26 May 2010 06:07 PM
"the guy above the guy above me" == the guy above you.


:P
Report Abuse
Raven5888 is not online. Raven5888
Joined: 12 Feb 2009
Total Posts: 269
26 May 2010 06:10 PM
on my main I have useless virtual stuff worth around 6000 bux :D

I waste too much time on the trading currency >.<"
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