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: +1 Point every 5 seconds? *PAYING R$*

Previous Thread :: Next Thread 
Deltaforce96 is not online. Deltaforce96
Joined: 27 Jul 2008
Total Posts: 21018
31 Jul 2011 02:01 PM
I can't figure it out..I've tried it probably 7 times..can someone make my leaderboard, (Script name "Board") add *1* point to a player every 5 seconds?

250 R$...or if no BC, please do it for kindness!
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
31 Jul 2011 02:02 PM
Script would help us help you, you know?
Report Abuse
moustachauve is not online. moustachauve
Joined: 29 Jul 2009
Total Posts: 668
31 Jul 2011 02:03 PM
post what you've tried, dont ask us the whole thing
Report Abuse
5943539 is not online. 5943539
Joined: 05 Jan 2010
Total Posts: 810
31 Jul 2011 02:05 PM
Calculate it with the time they've been in the server/5. Like math.floor(time()/5) within a localscript.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:05 PM
[ Content Deleted ]
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:05 PM
function leaderstats(newPlayer)

leader = Instance.new("IntValue", newPlayer)
leader.Name = "leaderstats"

points = Instance.new("IntValue", leader)
points.Value = 0
points.Name = "Points"

while true do
newPlayer.leaderstats.Points.Value = newPlayer.leaderstats.Points.Value + 1
wait(5)

end
end

Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
31 Jul 2011 02:06 PM
@59 or use a while loop.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:06 PM
[ Content Deleted ]
Report Abuse
Flurite is not online. Flurite
Joined: 03 Apr 2011
Total Posts: 5386
31 Jul 2011 02:06 PM
@5943539

You know you can just find when the player enters then use a while loop to add every five seconds you know.. :P
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:07 PM
@my last post.

at the end put:

game.Player.PlayerAdded:connect(leaderstats)
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:08 PM
@mycro

yup. i use it all the time. works.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:08 PM
[ Content Deleted ]
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:08 PM
@mycro
troller. get off forums.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:09 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:10 PM
[ Content Deleted ]
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:14 PM
yes i did. me and my cosinz
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
31 Jul 2011 02:15 PM
i tink myrco ish a trowl allso lololololol0
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:15 PM
when a new player enters, it gives 5secs then gives points, and repeats.
while another player enters and it does the same. i did not put break on it.
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:16 PM
@spectrums
that was a troll post to ^-^ trololol

Report Abuse
nightname is not online. nightname
Joined: 10 Jun 2008
Total Posts: 8960
31 Jul 2011 02:16 PM
Mycros, that should work, since Lua works by going line by line.
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:17 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:18 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
31 Jul 2011 02:18 PM
[ Content Deleted ]
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
31 Jul 2011 02:21 PM
omg i see an error at the connection. game.Player.PlayerAdded;connect() lul
game.Players.PlayerAdded:connect() Players * player
Report Abuse
Spectrumz is not online. Spectrumz
Joined: 22 Mar 2011
Total Posts: 4338
31 Jul 2011 02:23 PM
Lol. Cody, your script wouldn't work even with that connection line fix you posted above me.
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