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
 

HALP!

Previous Thread :: Next Thread 
tmnt4513 is not online. tmnt4513
Joined: 16 Aug 2006
Total Posts: 349
14 Apr 2009 07:15 AM
I'm making minigames, but T_T It gives players turns 0-0

I'm not pasting... only the part that i think is causing it

for i = 1, #P do
P[i].Character.Torso.CFrame = CFrame.new(game.Workspace.Minigame1.CenterBrick.Position + Vector3.new(0,5,0))
local tool = game.Lighting.LinkedSword:clone()
tool.Parent = P[i].Backpack


also, where can i learn pairs?
Report Abuse
tmnt4513 is not online. tmnt4513
Joined: 16 Aug 2006
Total Posts: 349
14 Apr 2009 03:20 PM
please.
Report Abuse
blacksmithgu is not online. blacksmithgu
Joined: 20 Aug 2008
Total Posts: 8852
14 Apr 2009 03:28 PM
1. does it have a end in it?

2. pairs are hard to explain for everything. for bricks and models:

for _, v in pairs(game.Players:GetChildren()) do
if v.Character ~= nil then
v.Character.Torso.CFrame = game.Workspace.Minigame1.CenterBrick.CFrame + CFrame.new(Vector3.new(0, 5, 0))

tool = game.Lighting.toolnamehere:clone()
tool.Parent = v.Backpack
end
end
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