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: New leader bored?

Previous Thread :: Next Thread 
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 11:39 AM
game.Players.playerAdded:connect(function(plr)
local Name = Instance.new('IntValue')
stats.Name = 'leaderstats'
end)


I can't get it to work.
Report Abuse
EradicateTheNoobs is not online. EradicateTheNoobs
Joined: 03 Feb 2012
Total Posts: 1314
17 Oct 2015 11:39 AM
Omg kill me
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 11:43 AM
How do I fix this?
Report Abuse
bluefredy is not online. bluefredy
Joined: 23 Oct 2010
Total Posts: 59243
17 Oct 2015 11:44 AM
local Players = game:GetService("Players")

Players.PlayerAdded:connect(function(Player)
local Stats = Instance.new("Folder", Player)
Stats.Name = "leaderstats"
end)
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 11:51 AM
- reg script in workspace

still not working :l
Report Abuse
bluefredy is not online. bluefredy
Joined: 23 Oct 2010
Total Posts: 59243
17 Oct 2015 11:51 AM
probs cuz u have no idea what ur doing
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 12:05 PM
Well I am trying to make it work
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
17 Oct 2015 12:08 PM
game.Players.PlayerAdded:connect(fuction(player)
local statsFolder = Instance.new("Folder", player)
statsFolder.Name = "leaderstats"
local cash = Instance.new("IntValue", statsFolder)
cash.Name = "Cash"
end)

-The [Guy]
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 12:18 PM
BSG thanks for helping

there is a read underline under the first local
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
17 Oct 2015 12:20 PM
Sorry I mis-typed the word function as fuction. Put an n in there and you're good.

Also I'm BCG, not BSG. Thanks. :P

-The [Guy]
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 12:24 PM
sorryyyyy
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 12:31 PM
How would I make another leaderstats?

Like another one named EXP
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
17 Oct 2015 12:32 PM
game.Players.PlayerAdded:connect(fuction(player)
local statsFolder = Instance.new("Folder", player)
statsFolder.Name = "leaderstats"
local cash = Instance.new("IntValue", statsFolder)
cash.Name = "Cash"
local exp = Instance.new("IntValue", statsFolder)
exp.Name = "EXP"
end)

-The [Guy]
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 12:37 PM
What is the string value called?
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
17 Oct 2015 12:41 PM
StringValue
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 12:45 PM
How do I do this?

Like if kills == to number?
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
17 Oct 2015 12:46 PM
if kills == tonumber(string)

-The [Guy]
Report Abuse
EpicMinions is not online. EpicMinions
Joined: 28 Jun 2013
Total Posts: 142
17 Oct 2015 01:06 PM
ug, im trying to research i cant seem to find anything to do it
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