Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
|
| 06 Mar 2014 02:25 PM |
I know its not a lot just some pocket money
I need a script to teleport all players at once to a certain place
For an extra 20R$
I need a script that teleports them back after all players have died or left |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 06 Mar 2014 02:31 PM |
| Why pay for an easy script |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
|
| 06 Mar 2014 02:39 PM |
| I have R$ and i want answers fast :) |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
| |
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 06 Mar 2014 02:48 PM |
Ok...
for i,v in pairs(game.Players:GetPlayers()) do if v:FindFirstChild("Character") then v.Character:MoveTo(x,y,z)-Position here end end
|
|
|
| Report Abuse |
|
|
|
| 06 Mar 2014 02:50 PM |
best answer..findFirstChild doesn't work for character lol,i don't need the robux yknow..
for I,v in pairs(game.Players:GetPlayers()) do if v.Character then v.Character:MoveTo(Workspace.SpawnPlace1.Position) end end wait(AmmountUntil they Tp Back Here)
for I,v in pairs(game.Players:GetPlayers()) do if v.Character then v.Character:MoveTo(Workspace.SpawnPlace2.Position) end end
done,dude this is on the wiki,yknow that right..?
|
|
|
| Report Abuse |
|
|
Marolex
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 1785 |
|
|
| 06 Mar 2014 02:52 PM |
(i dont want the money)
(Put this in a local script in the starterGui)
plr = script.Parent.Parent.Character plr.Humanoid.Died:connect(function() if plr:FindFirstChild("Humanoid") then plr:MoveTo(game.Workspace.Cabin.Spawn) end |
|
|
| Report Abuse |
|
|
Marolex
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 1785 |
|
|
| 06 Mar 2014 02:53 PM |
| change that last line to "end)" |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
| |
|
Marolex
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 1785 |
|
| |
|
djwill619
|
  |
| Joined: 13 Jun 2011 |
| Total Posts: 756 |
|
|
| 06 Mar 2014 03:13 PM |
Players = game.Players:GetChildren()
while true do Players.Character:MoveTo("Position Here") end |
|
|
| Report Abuse |
|
|
|
| 06 Mar 2014 03:14 PM |
| they will never be able to move with that one!not to mention itll ml freeze the game! |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
|
| 06 Mar 2014 03:16 PM |
plr = script.Parent.Parent.Character plr.Humanoid.Died:connect(function() if plr:FindFirstChild("Humanoid") then plr:MoveTo(game.Workspace.Cabin.Spawn) end) /\ Error here |
|
|
| Report Abuse |
|
|
Marolex
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 1785 |
|
|
| 06 Mar 2014 03:17 PM |
| You're not saying what line the error is on. |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
| |
|
|
| 06 Mar 2014 03:18 PM |
@mar
you forgot the ")" at the last end |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
|
| 06 Mar 2014 03:18 PM |
Also this forum i also need help with :P http://www.roblox.com/Forum/ShowPost.aspx?PostID=127426012#127426191 |
|
|
| Report Abuse |
|
|
Marolex
|
  |
| Joined: 17 Dec 2012 |
| Total Posts: 1785 |
|
|
| 06 Mar 2014 03:19 PM |
No, if you read my reply i put the ")"
try this i see my mistake
replace "end)" with
"end end)" |
|
|
| Report Abuse |
|
|
Whatitdo8
|
  |
| Joined: 05 Sep 2012 |
| Total Posts: 1734 |
|
| |
|