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
|
  |
| Joined: 16 Aug 2006 |
| Total Posts: 349 |
|
| |
|
|
| 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 |
|
|