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: Minigame Teleport script.

Previous Thread :: Next Thread 
javiman1 is not online. javiman1
Joined: 07 Jun 2010
Total Posts: 143
24 Dec 2011 03:24 PM
I copied the script from the wiki but I added a line to make it once a timer hits 0, then to teleport everyone to the minigame.

if timer = 0 then
target = CFrame.new(0, 50, 0)
for i, player in ipairs(game.Players:GetChildren()) do
player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0)

end
Report Abuse
abaw7 is not online. abaw7
Joined: 23 Oct 2009
Total Posts: 745
24 Dec 2011 03:28 PM
Add a end It should work then
Report Abuse
javiman1 is not online. javiman1
Joined: 07 Jun 2010
Total Posts: 143
24 Dec 2011 03:32 PM
So like this?

if timer = 0 then
target = CFrame.new(0, 50, 0)
for i, player in ipairs(game.Players:GetChildren()) do
player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0)

end end
Report Abuse
javiman1 is not online. javiman1
Joined: 07 Jun 2010
Total Posts: 143
24 Dec 2011 03:41 PM
bump anyone else think that its the right script?
Report Abuse
skipperguy12 is not online. skipperguy12
Joined: 09 Oct 2009
Total Posts: 955
24 Dec 2011 03:50 PM
Yes,
Report Abuse
javiman1 is not online. javiman1
Joined: 07 Jun 2010
Total Posts: 143
24 Dec 2011 03:57 PM
Ok.
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