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 » Scripters
Home Search
 

Re: teleport

Previous Thread :: Next Thread 
Minecraftian247 is not online. Minecraftian247
Joined: 10 Aug 2012
Total Posts: 9
01 Sep 2015 02:21 PM
So I've been on my game for a while and there is a lobby and some maps, and I want whenever a new map starts and stuff the players get teleported on to the map but I dont know how, help?

P.S I dont want to use bricks or guis since it's a 1 life thing
Report Abuse
UpToxic is not online. UpToxic
Joined: 06 Sep 2014
Total Posts: 9
01 Sep 2015 03:28 PM
Whenever this is called in a script, it will teleport all players to a location.

target = CFrame.new(0, 50, 0) --Location of teleportation
for i, player in ipairs(game.Players:GetChildren()) do --Getting the players
if player.Character and player.Character:FindFirstChild("Torso") then
--Making sure they are a player^
player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0) --Teleports the,
end
end
Report Abuse
Minecraftian247 is not online. Minecraftian247
Joined: 10 Aug 2012
Total Posts: 9
01 Sep 2015 05:54 PM
Thanks, but I have a few more questions since I have no experience with scripts

1. Since it's like a free for all will they all teleport on top of eachother and if so how do we make it so they are spread out?

2. I'm an idiot but how do we add a timer?

3. Say I got a map changing script, and once the map loads I want the players to be teleported down how could I do that
Report Abuse
gooey333 is not online. gooey333
Joined: 24 Mar 2013
Total Posts: 1208
01 Sep 2015 05:56 PM
How do I make, say, a game?
Report Abuse
Minecraftian247 is not online. Minecraftian247
Joined: 10 Aug 2012
Total Posts: 9
01 Sep 2015 08:07 PM
Sorry if I asked for too much.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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