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 would I...

Previous Thread :: Next Thread 
snowboarder199 is not online. snowboarder199
Joined: 15 Aug 2009
Total Posts: 2703
30 Jul 2012 12:59 AM
ok so what i need to do is a function that damages all the players in a game, i belive it has to do with GetPlayers and such but i dont know how i would make this... can somone help me?
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
30 Jul 2012 02:12 AM
players = game.Players:GetPlayers() --omg here it is

for i = 1, #players do
players[i].Character.Humanoid.Health = players[i].Character.Humanoid.Health - 50
end
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
30 Jul 2012 02:41 AM
It's called da wiki!
Report Abuse
snowboarder199 is not online. snowboarder199
Joined: 15 Aug 2009
Total Posts: 2703
30 Jul 2012 02:47 AM
@cheater thnx and lol
@cease, I dont like alot of the wikis methods, they help but they don't always explain it
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
30 Jul 2012 03:18 AM
You need basic knowledge. That's what I hate.
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