|
| 02 Jan 2014 08:20 AM |
I want to make a script, that teleports all the players to another place.
I want to make a game, with different maps. I don't want to use mapchanger, so how to place teleport everyone?
for i,v in pairs(game.Players:GetChildren()) do game:GetService("TeleportService"):Teleport(PLACE ID, v.Character) end
That doesn't works. Can someone help me?
|
|
|
| Report Abuse |
|
|
| |
|
breuning
|
  |
| Joined: 30 Oct 2008 |
| Total Posts: 4268 |
|
|
| 02 Jan 2014 08:56 AM |
| this does work, you just got to change PLACE ID to the places ID |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2014 09:14 AM |
Thanks for the help but,
I tested it with a friend, but only I get tp'ed.
Someone else maybe? |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2014 09:34 AM |
Please?
I really don't know how. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
shawnyg
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 1428 |
|
|
| 02 Jan 2014 10:10 AM |
Not sure if this would work, but change your loop to this one. g = game.Players:GetChildren() for i = 1, #g do
~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~~CAT ★★★★ General Shawnyg~ |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2014 10:12 AM |
for i,v in pairs(game.Players:GetPlayers()) do game:GetService("TeleportService"):Teleport(PLACE ID, v.Character) end
That might fix it. I changed "GetChildren()" to "GetPlayers()". |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
| |
|
|
| 02 Jan 2014 10:42 AM |
I am just using Kohls Admin Commands, with :s
|
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 02 Jan 2014 10:46 AM |
| Weird. I'm out of ideas then :/ |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2014 11:01 AM |
| Hmm, somebody else who knows? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 02 Jan 2014 11:37 AM |
If you're using Kohl's admin commands, you can just use :place PLACE ID
but that should use :ls, not :s |
|
|
| Report Abuse |
|
|
|
| 02 Jan 2014 11:37 AM |
| I can't read, don't listen to the ":ls, not :s" part |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
|
| 02 Jan 2014 12:17 PM |
If your using Kohls admin you should say :teleport all PLACEID
Mr.Teddy for President ˁ(⦿ᴥ⦿)ˀ |
|
|
| Report Abuse |
|
|