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
 

teleporting not working!!

Previous Thread :: Next Thread 
diddims4 is not online. diddims4
Joined: 18 Feb 2010
Total Posts: 884
13 Jun 2013 05:11 AM
this is what i have:

positions = {Vector3.new(80.95, 7.16, -323.615),Vector3.new(-63.683, 22.938, -252.214)}
function teleportplayers()
for _,player in pairs(game.Players:GetChildren()) do
if player.Character and pl.Character:findFirstChild("Torso") and not player.Character.Torso.Anchored then
player.Character.Torso.CFrame = CFrame.new(positions[math.random(1,#positions)])
end
end
end

i have more positions so yeah
Report Abuse
diddims4 is not online. diddims4
Joined: 18 Feb 2010
Total Posts: 884
13 Jun 2013 05:39 AM
bump
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
13 Jun 2013 05:39 AM
You never defined pl
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