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
 

What is wrong with this?

Previous Thread :: Next Thread 
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
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
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 08:55 AM
Someone,please?
Report Abuse
breuning is not online. 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
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
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
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 09:34 AM
Please?

I really don't know how.
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 09:48 AM
bump.
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 10:08 AM
bump2
Report Abuse
shawnyg is not online. 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
ChaosEspeon is not online. ChaosEspeon
Joined: 02 Jan 2009
Total Posts: 4578
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
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 10:19 AM
Doesn't works :(
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 10:28 AM
Someone who knows?
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 10:38 AM
bump.
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
02 Jan 2014 10:39 AM
Is it in a local script?
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 10:42 AM
I am just using Kohls Admin Commands, with :s

Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
02 Jan 2014 10:46 AM
Weird. I'm out of ideas then :/
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 11:01 AM
Hmm, somebody else who knows?
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 11:23 AM
Bump.
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 11:33 AM
Another bump
Report Abuse
MarioKartAddict is not online. MarioKartAddict
Joined: 11 Nov 2009
Total Posts: 42774
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
MarioKartAddict is not online. MarioKartAddict
Joined: 11 Nov 2009
Total Posts: 42774
02 Jan 2014 11:37 AM
I can't read, don't listen to the ":ls, not :s" part
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 11:38 AM
Please help me :(
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 11:48 AM
Bump.
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 12:00 PM
Bump :(
Report Abuse
sunniebeta is not online. sunniebeta
Joined: 17 Sep 2011
Total Posts: 93
02 Jan 2014 12:17 PM
bump
Report Abuse
ROBLOXTHEMOVIEs is not online. ROBLOXTHEMOVIEs
Joined: 11 Jun 2012
Total Posts: 5895
02 Jan 2014 12:17 PM
If your using Kohls admin
you should say
:teleport all PLACEID

Mr.Teddy for President ˁ(⦿ᴥ⦿)ˀ
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 2Go to page: [1], 2 Next
 
 
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