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
 

Help

Previous Thread :: Next Thread 
nicknack2143 is not online. nicknack2143
Joined: 07 Aug 2010
Total Posts: 1134
09 Jul 2011 09:57 PM
How do you make a game script teleport everyone to a certain vector?
Report Abuse
BunnyBoy26 is not online. BunnyBoy26
Joined: 17 Jun 2010
Total Posts: 5674
09 Jul 2011 10:09 PM
Not to correct you harshly, but you can't teleport someone to a "vector".
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
09 Jul 2011 10:11 PM
He was close on his terminology, though; I'll give him credit for that.


funciton teleportPlayers(Position)
for _, v in pairs(game.Players:GetPlayers()) do
if v.Character then
v.Character:MoveTo(Position)
end
end
end

teleportPlayers(Vector3.new(0,1000,0))
Report Abuse
RobotWallE is not online. RobotWallE
Joined: 17 Jan 2009
Total Posts: 498
09 Jul 2011 10:12 PM
@bunny, just answer his question.. @Kid:

for i, v in pairs(game.Players:GetChildren()) do
v.Character:MoveTo(Vector3.new(0,0,0))--Position here.
end
Report Abuse
RobotWallE is not online. RobotWallE
Joined: 17 Jan 2009
Total Posts: 498
09 Jul 2011 10:13 PM
Darn Agent beat me. >:)
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
09 Jul 2011 10:17 PM
+1 for fast fingers. :P
Report Abuse
nicknack2143 is not online. nicknack2143
Joined: 07 Aug 2010
Total Posts: 1134
18 Jul 2011 06:21 PM
Thx people medium scripter here. =P
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