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
 

Re: i need a script to teleport everyone using teleservice

Previous Thread :: Next Thread 
Spasticated is not online. Spasticated
Joined: 21 Aug 2012
Total Posts: 105
26 Dec 2013 03:56 PM
i got the teleportservice thing done.
but i'm still new to the whole lua scene and i'd like to learn how to teleport everyone.
Report Abuse
KiwiMeister is not online. KiwiMeister
Joined: 18 Feb 2010
Total Posts: 1464
26 Dec 2013 04:27 PM
Free models
Report Abuse
Spasticated is not online. Spasticated
Joined: 21 Aug 2012
Total Posts: 105
26 Dec 2013 04:34 PM
I tried. :c
Report Abuse
KiwiMeister is not online. KiwiMeister
Joined: 18 Feb 2010
Total Posts: 1464
26 Dec 2013 04:41 PM
Obviously not hard enough
Report Abuse
Spasticated is not online. Spasticated
Joined: 21 Aug 2012
Total Posts: 105
26 Dec 2013 04:43 PM
20 pages searched. + what's the point if I don't learn the method?
Report Abuse
evolvedpikachu is not online. evolvedpikachu
Joined: 18 Aug 2010
Total Posts: 10696
26 Dec 2013 04:47 PM
Use pairs.

for i, v in pairs(game.Players:GetPlayers()) do -- Tables!!
-- do whatever, v is the player
end

Iterates through the GetPlayers table.
Report Abuse
Merilo is not online. Merilo
Joined: 01 Aug 2011
Total Posts: 500
26 Dec 2013 04:47 PM
placeID = 9154968
for i, v in pairs (game.Players:GetPlayers()) do
game:GetService("TeleportService"):Teleport(placeID, v.Character)
end


--Replace placeID with the ID of the place you want to teleport people to
Report Abuse
KiwiMeister is not online. KiwiMeister
Joined: 18 Feb 2010
Total Posts: 1464
26 Dec 2013 04:47 PM
Trollin it at places, is what you probably will do
Report Abuse
Merilo is not online. Merilo
Joined: 01 Aug 2011
Total Posts: 500
26 Dec 2013 04:48 PM
Yes, well, why would you not do that?
Report Abuse
Merilo is not online. Merilo
Joined: 01 Aug 2011
Total Posts: 500
26 Dec 2013 04:49 PM
Power in the hands of few is dangerous, power in the hands of many can be helpful.
Report Abuse
Spasticated is not online. Spasticated
Joined: 21 Aug 2012
Total Posts: 105
26 Dec 2013 04:53 PM
Now to see the innards of this script.
Report Abuse
spiciness is not online. spiciness
Joined: 02 Apr 2011
Total Posts: 4698
26 Dec 2013 09:05 PM
http://www.roblox.com/ForceTeleportation-item?id=136738164
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
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