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 » Scripters
Home Search
 

Re: Hidden Leaderstats

Previous Thread :: Next Thread 
k3du53 is online. k3du53
Joined: 18 Jan 2014
Total Posts: 135
27 Jan 2016 07:27 PM
Hello.

I'm working at making a hidden leaderstat, under each player.
But, I can't add an IntValue other than "leaderstats" to each player.
Are there any other ways to make hidden leaderstats?

#code
local hidden = Instance.new("IntValue")
hidden.Name = "hiddenstats"

^this script is a function that connect on playeradded

Report Abuse
SwagCuzYolo is not online. SwagCuzYolo
Joined: 31 Oct 2013
Total Posts: 1224
27 Jan 2016 07:29 PM
Just don't keep the intvalues in leaderstats?
Report Abuse
k3du53 is online. k3du53
Joined: 18 Jan 2014
Total Posts: 135
27 Jan 2016 07:37 PM
@SwagCuzYolo

Then they wont display in the leaderboard.
I have two other values that are on the leaderboard, and one hidden value.
The hidden value is what I'm asking for help with.

Report Abuse
foreverpower is not online. foreverpower
Joined: 05 Feb 2011
Total Posts: 5578
27 Jan 2016 07:47 PM
Just don't keep the intvalues in leaderstats [2]
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
27 Jan 2016 07:49 PM
err if u want it to be "hidden" and not display on the leaderboard make a folder called "hidden" or "hiddenstats" or something and put values in it
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
27 Jan 2016 07:49 PM
dont name it leaderstats

if u cant figure that out

just quit now



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,174 Tx309 (づ ゚ ³ ゚)づ
Report Abuse
k3du53 is online. k3du53
Joined: 18 Jan 2014
Total Posts: 135
27 Jan 2016 08:08 PM
@Recurring
@xlaser

That's exactly what I'm doing.
When I play in studio, or play in game,
it doesn't show up in the player.
Leaving an error when I call it later.

Btw, xlaser, what's with the rudeness of your reply?

Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
27 Jan 2016 08:09 PM
It doesn't show up in the player? Er, it looks like you're not setting the parent to player
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
27 Jan 2016 08:15 PM
because u have no type of common sense



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,174 Tx309 (づ ゚ ³ ゚)づ
Report Abuse
k3du53 is online. k3du53
Joined: 18 Jan 2014
Total Posts: 135
27 Jan 2016 08:17 PM
@Recurr

In the script, the function connects on the player, and makes the instance.

(R+)
#code
function onPlayerEntered(blah)
local hide = Instance.new("IntValue")
hide.Name = "hiddenstats"
end
game.Players.ChildAdded:connect(blah)

(this is rewrote to show a small part of the script)

Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
27 Jan 2016 08:18 PM
...



http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$1,174 Tx309 (づ ゚ ³ ゚)づ
Report Abuse
k3du53 is online. k3du53
Joined: 18 Jan 2014
Total Posts: 135
27 Jan 2016 08:22 PM
Correction,


(R+)
#code
function onPlayerEntered(newPlayer)
local hide = Instance.new("IntValue")
hide.Name = "hiddenstats"
end
game.Players.ChildAdded:connect(onPlayerEntered)

(other code between line 4 and 5)

Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
27 Jan 2016 08:24 PM
here's what you need:

game.Players.PlayerAdded:connect(function(player)
local stats = Instance.new("Folder", player)
stats.Name = "hiddenstats"
end)
Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
27 Jan 2016 08:26 PM
hi, yeah, so

please point out where you parented the "hiddenstats" value to the player in that code
Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
27 Jan 2016 08:26 PM
my reply was directed to op
Report Abuse
k3du53 is online. k3du53
Joined: 18 Jan 2014
Total Posts: 135
27 Jan 2016 08:35 PM
Oh, I misread when you said "Folder."

Thank you.

Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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