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: How can I shorten this?

Previous Thread :: Next Thread 
TheConqueror is not online. TheConqueror
Joined: 20 Mar 2009
Total Posts: 732
21 Feb 2010 05:36 PM
How can I shorten this?

KO's = people = game.Players:GetChildren()
for i = 1, #people do
print(people[i].leaderstats.KOs.Value)
wait (2)
end
Report Abuse
abbymcabby is not online. abbymcabby
Joined: 03 Apr 2009
Total Posts: 2402
21 Feb 2010 05:38 PM
u cant...

people=game.Players:GetChildren()
for i=1,#people do
print(people[i].leaderstats.KOs.Value)
wait(2)
end

NOTE: THIS IS A SCRIPT THAT SOMEONE GAVE HIM! I ?SAW HIS FORUM! IT IS NOT HIS
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
21 Feb 2010 05:39 PM
for index, player in pairs(game.Players:GetPlayers())
print(player.leaderstats.KOs.Value)
wait(2)
end
Report Abuse
TheConqueror is not online. TheConqueror
Joined: 20 Mar 2009
Total Posts: 732
21 Feb 2010 05:41 PM
Hmm, sombody said I could shorten it, its supposed to be a variable in a script.
Report Abuse
cupcakescankill is not online. cupcakescankill
Joined: 24 Oct 2008
Total Posts: 13261
21 Feb 2010 05:42 PM
There's really no need to shorten it.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
21 Feb 2010 06:14 PM
Mine is shortened and works fine!
Report Abuse
Xtreme101 is not online. Xtreme101
Joined: 03 Jan 2009
Total Posts: 4385
21 Feb 2010 06:26 PM
How sad. Asking for help with a free model.
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