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: Giving everyone a little brick

Previous Thread :: Next Thread 
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 02:19 PM
How do you make 1 brick appear for everyone currently in the server using the for i, v in pairs method?
Report Abuse
Megamatrixdude is not online. Megamatrixdude
Joined: 06 Dec 2009
Total Posts: 10939
22 Jul 2011 02:22 PM
This isn't at all clear.

-My hand is a dolphin
Report Abuse
EXHyperBlack is not online. EXHyperBlack
Joined: 22 Aug 2010
Total Posts: 383
22 Jul 2011 02:28 PM
Look you see that i,v method in alot of scripts but to start it IT MORE HARDER THIS inpairs i,v cause this has to have 2 things to even make it work!!!!!
Report Abuse
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 02:31 PM
Ok here's what I mean:

for i, v in pairs(game.Players:GetPlayers()) do
--Give everyone an individual brick
end
Report Abuse
Megamatrixdude is not online. Megamatrixdude
Joined: 06 Dec 2009
Total Posts: 10939
22 Jul 2011 02:35 PM
You don't explain what you mean by giving them a brick!

-My hand is a dolphin
Report Abuse
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 02:36 PM
I just mean that for every person currently in the server, a brick appears in the middle of the place. e.g: 5 people in the server: 5 bricks in the middle.
Report Abuse
Megamatrixdude is not online. Megamatrixdude
Joined: 06 Dec 2009
Total Posts: 10939
22 Jul 2011 02:37 PM
Oh.

for i = 1, game.Players.numPlayers do
Instance.new("Part", Workspace)
end

-My hand is a dolphin
Report Abuse
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 02:43 PM
What if I want to find the name of a player? Like if I want to make a variable "player" that means one of the Players in the server.
Report Abuse
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 02:57 PM
Bump
Report Abuse
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 04:01 PM
Bumpety Bump
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
22 Jul 2011 04:02 PM
loadstring(player.Name .. " = 3")
Report Abuse
cheez55 is not online. cheez55
Joined: 19 Oct 2008
Total Posts: 646
22 Jul 2011 04:14 PM
What would that do?
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