VilliusIV
|
  |
| Joined: 24 Jun 2014 |
| Total Posts: 107 |
|
|
| 20 Apr 2015 12:23 PM |
I've read the wiki about this. However it did not help with what I want to do. Okay so there are 10 players in a server or whatever. I want it so that when the round starts then 2 people are teleported. 1 person being teleported at -39.7, 0.5, 54.8 and the other being teleported at 18.07, 0.5, 54.8 .
So what would the script be? |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 20 Apr 2015 12:24 PM |
| Look at teleporting, choosing a random player, and Vector3 |
|
|
| Report Abuse |
|
|
VilliusIV
|
  |
| Joined: 24 Jun 2014 |
| Total Posts: 107 |
|
|
| 20 Apr 2015 12:26 PM |
| I want two players to be teleported. |
|
|
| Report Abuse |
|
|
VilliusIV
|
  |
| Joined: 24 Jun 2014 |
| Total Posts: 107 |
|
|
| 20 Apr 2015 12:28 PM |
| Like in Sword Fighting Tournament where when the round begins, one player is on the right and other is on left. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
VilliusIV
|
  |
| Joined: 24 Jun 2014 |
| Total Posts: 107 |
|
|
| 20 Apr 2015 12:34 PM |
| I'm sooo dumb xD Sorry. Also what if I want to make it in a range. So if someone is something like level 1 then then that level 1 and only specificly someone else that is level 1 to 5 can be teleported. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
VilliusIV
|
  |
| Joined: 24 Jun 2014 |
| Total Posts: 107 |
|
|
| 20 Apr 2015 12:44 PM |
| but then I can't make random players teleport randomly. |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2015 02:19 PM |
am too lazy to work out the table for random players but you need 2 teleporters by diff names as bricks like "Tele1" and "Tele2" then do this
script.Parent.Touched:connect(function(hit) local char = hit.Parent local tor = char.Torso if tor then tor.CFrame = game.Workspace.Tele1.CFrame end end)
--kthxbye |
|
|
| Report Abuse |
|
|