|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|