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: Does this script work?

Previous Thread :: Next Thread 
EliteBlade123 is not online. EliteBlade123
Joined: 21 Feb 2012
Total Posts: 37
30 Jun 2012 06:20 PM
How do I make this script teleport players to a map each time when the game starts and teleport back to the waiting room?

time = 10 -- change this to the amount of seconds you want the loop to iterate

while wait(time) do
for i, v in pairs(game.Players:GetPlayers()) do
v.Character.Torso.CFrame = CFrame.new(Vector3.new(-3563 , 27.3, 3739)) end
end

Any ideas?
Report Abuse
CombatHe is not online. CombatHe
Joined: 26 May 2012
Total Posts: 23
30 Jun 2012 06:40 PM
MISSING A END

NOW GO FIX MINE
Report Abuse
EliteBlade123 is not online. EliteBlade123
Joined: 21 Feb 2012
Total Posts: 37
30 Jun 2012 07:02 PM
ik thts it missing a end when I posted it then tht happened
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
30 Jun 2012 07:04 PM
Vector3 inside a CFrame?



time = 10 -- change this to the amount of seconds you want the loop to iterate

while wait(time) do
for i, v in pairs(game.Players:GetPlayers()) do
v.Character.Torso.CFrame = CFrame.new(3563 , 27.3, 3739) end
end
end
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
30 Jun 2012 07:06 PM
The end was there. (At the end of the fifthline)

> † KMXD †
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
30 Jun 2012 07:08 PM
WHy does He have it out There.... .-.

FIXED SCRIPT:



time = 10 -- change this to the amount of seconds you want the loop to iterate

while wait(time) do
for i, v in pairs(game.Players:GetPlayers()) do
v.Character.Torso.CFrame = CFrame.new(3563 , 27.3, 3739)
end
end
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