|
| 28 Mar 2013 03:50 PM |
local found = Workspace:FindFirstChild("Player") if found then Player.Humanoid.position = -236.6, 3.49, 270.6 end
What I am trying to do is select a random player and move it that position. |
|
|
| Report Abuse |
|
|
|
| 28 Mar 2013 03:54 PM |
local player = game.Players[1] if player then player.Character.Torso.CFrame = CFrame.new(-236.6, 3.49, 270.6) end
"No, you were not downloaded. You were born!" |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 28 Mar 2013 05:41 PM |
That wouldn't work.
game.Players[1] = nil, usually.
local player = game.Players:GetPlayers()[math.random(1, #game.Players:GetPlayers())] if player.Character then player.Character.Torso.CFrame = CFrame.new(-236.6, 3.49, 270.6) end |
|
|
| Report Abuse |
|
|