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: Please help with leaderboard script

Previous Thread :: Next Thread 
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:25 AM
https://www.youtube.com/watch?v=7O1exO6WrjA&feature=youtu.be\

Please help me.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
18 Jul 2014 10:28 AM
*You don't have the output open
*Your script has a syntax error
*You are using Windows 8
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:39 AM
Where are the errors. I know windows 8 has nothing to do with this. But thanks anyways...
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
18 Jul 2014 10:41 AM
too low quality to read
Report Abuse
HyroadCoder is not online. HyroadCoder
Joined: 15 Jul 2014
Total Posts: 813
18 Jul 2014 10:41 AM
You have 'end' at the bottom.

Change it to 'end)'
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
18 Jul 2014 10:41 AM
Your anonymous function needs a ) after its end.
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:45 AM

game.Players.PlayerAdded:connect(function(player)

stats = Instance.new("IntValue", player)
stats.Name = "Leaderstats"

money = Instance.new("IntValue", stats)
money.Name = "Money"

end)

game.Players.PlayerRemoving:connect(function(player)

end)

This is where im at now, still doesn't work.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
18 Jul 2014 10:46 AM
Output?
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:52 AM
Im a noob at this, what do you mean output.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
18 Jul 2014 10:54 AM
Its a window which you NEED to enable.

It shows the scripts output: All errors, warnings and prints.
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:55 AM
! Joining game '' place -1 at localhost
11:55:02.330 - Connecting to localhost:53640
11:55:02.396 - Connection accepted from 127.0.0.1|53640
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:55 AM
11:54:58.589 - Script '[string ""]', Line 198
11:54:58.589 - Script 'loadfile("http://www.roblox.com/game/gameserver.ashx")(1226', Line 1
11:54:58.590 - Stack End
11:54:58.641 - Successfully opened file - C:/Users/Chris/AppData/Local/Roblox/server.rbxl
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
18 Jul 2014 10:57 AM
So there is not an error, aside from a human one:

The name HAS to be "leaderstats", with a lowercase "l" ("L")
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 10:59 AM
Like this?

-- Momkids leaderboard

game.Players.PlayerAdded:connect(function(player)

stats = Instance.new("IntValue", player)
stats.Name = "leaderstats"

money = Instance.new("IntValue", stats)
money.Name = "Money"

end)

game.Players.PlayerRemoving:connect(function(player)

end)

Because if it was that it still doesnt work
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
18 Jul 2014 11:00 AM
Sure
Report Abuse
momkid6 is not online. momkid6
Joined: 07 Jul 2008
Total Posts: 5473
18 Jul 2014 11:02 AM
But it doesn't work still. I seriously do not understand.
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