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
 

I NEED HELP WITH TELEPORTING

Previous Thread :: Next Thread 
SwagMasterSteff is online. SwagMasterSteff
Joined: 23 May 2016
Total Posts: 21
31 Jul 2017 02:40 PM
I need to know how i can teleport players into a map without getchildren because if i use get children all the players stack



PLZ HELP


SwagMasterSteff
Report Abuse
Mitko0o1 is not online. Mitko0o1
Joined: 30 Nov 2010
Total Posts: 5725
31 Jul 2017 02:42 PM
First you need a bunch of teleport locations so that they don't stack up and then teleport each one to a random location


Report Abuse
Flubberlutsch is not online. Flubberlutsch
Joined: 27 Sep 2016
Total Posts: 188
31 Jul 2017 02:43 PM
Ok so I suppose you are using the [Position] property of the body parts to move them. Changing this property will break the character welds and therefore kill the player. Use CFrames (Coordinate frames) instead.


Either:

[character].HumanoidRootPart.CFrame = CFrame.new([new x], [new y], [new z])

Or:

[character].HumanoidRootPart.CFrame = CFrame.new([new Vector3 position])


~Flub
Report Abuse
Flubberlutsch is not online. Flubberlutsch
Joined: 27 Sep 2016
Total Posts: 188
31 Jul 2017 02:44 PM
You can also add the following:

[goal Vector3] + Vector3.new(math.random(-10,10),0,math.random(-10,10))

to randomly spread the players
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