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: I NEED A CUSTOM ({LEADERBOARD})

Previous Thread :: Next Thread 
Coopertow is not online. Coopertow
Joined: 18 Apr 2012
Total Posts: 1959
16 Apr 2014 08:23 PM
So what I need Is a Leaderboard that Only has The Word "Prizes" Like this But Can you edit it to instead of "wins" Can you make it "Prizes" And make it where nobody can get a Point or something , I need it for my game what I mean is im gonna use Khols to give the point, Score I don't Want them to get it by killing a player or something.


function CreateStats(NewPlayer)
local MainStats = Instance.new("IntValue")
MainStats.Name = "leaderstats"
MainStats.Value = 0
local PointsValue = Instance.new("IntValue")
PointsValue.Name = "Wins"
PointsValue.Value = 0
PointsValue.Parent = MainStats
MainStats.Parent = NewPlayer
return MainStats
end

game.Players.ChildAdded:connect(CreateStats)
Report Abuse
GRAGGER2001 is not online. GRAGGER2001
Joined: 05 Apr 2009
Total Posts: 2043
16 Apr 2014 08:25 PM
You can't script can you?

function CreateStats(NewPlayer)
local MainStats = Instance.new("IntValue")
MainStats.Name = "leaderstats"
MainStats.Value = 0
local PointsValue = Instance.new("IntValue")
PointsValue.Name = "Prizes"--Where you choose the name of the stat
PointsValue.Value = 0
PointsValue.Parent = MainStats
MainStats.Parent = NewPlayer
return MainStats
end

game.Players.ChildAdded:connect(CreateStats)
Report Abuse
ibranext is not online. ibranext
Joined: 08 Aug 2012
Total Posts: 361
16 Apr 2014 08:25 PM
I don't think its custome if your using leaderstats...
Report Abuse
Coopertow is not online. Coopertow
Joined: 18 Apr 2012
Total Posts: 1959
16 Apr 2014 08:28 PM
But People Can get the points?
Report Abuse
GRAGGER2001 is not online. GRAGGER2001
Joined: 05 Apr 2009
Total Posts: 2043
16 Apr 2014 08:29 PM
Yes, it is custom. I've made leaderboards before. One having "Gold", "Exilir", "Trophies" as the stats.
Report Abuse
ibranext is not online. ibranext
Joined: 08 Aug 2012
Total Posts: 361
16 Apr 2014 08:30 PM
function PlayerEntered(newPlayer)
local stats = Instance.new("IntValue")
stats.Parent = newPlayer
stats.Name = "Prizes"

local money = Instance.new("IntValue")
money.Parent = stats
money.Name = "Doubloons"
money.Value = 6
end

game.Players.ChildAdded:connect(PlayerEntered)
-- So yeh...
Report Abuse
ibranext is not online. ibranext
Joined: 08 Aug 2012
Total Posts: 361
16 Apr 2014 08:32 PM
-- My bad iI used an old script I made XD
-- here the new one ;-;
function PlayerEntered(newPlayer)
local stats = Instance.new("IntValue")
stats.Parent = newPlayer
stats.Name = "leaderstats" -- leave if not costume

local money = Instance.new("IntValue")
money.Parent = stats
money.Name = "Prizes" -- Name stat here
money.Value = 6 -- Choose amount to start with
end -- end :P ...

game.Players.ChildAdded:connect(PlayerEntered) -- Add player
Report Abuse
Coopertow is not online. Coopertow
Joined: 18 Apr 2012
Total Posts: 1959
16 Apr 2014 08:44 PM
ibranex What Does The
game.Players.ChildAdded:connect(PlayerEntered) -- Add player

mean?
Report Abuse
ibranext is not online. ibranext
Joined: 08 Aug 2012
Total Posts: 361
16 Apr 2014 08:53 PM
To show create a new log in folder for the person...
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