|
| 08 Dec 2012 04:02 PM |
| How do i get a player to teleport to a brick? |
|
|
| Report Abuse |
|
|
TeamDman
|
  |
| Joined: 04 Dec 2009 |
| Total Posts: 897 |
|
|
| 08 Dec 2012 04:14 PM |
With scripts.
§TeamDman§ Anti-Jared |
|
|
| Report Abuse |
|
|
Fir3bl4ze
|
  |
| Joined: 13 Jul 2012 |
| Total Posts: 310 |
|
|
| 08 Dec 2012 04:39 PM |
I know this is kinda nubby but i would just use this. They work really well and are not infected with viruses or anything. I have used them many times.
http://roblox/com/Teleport-Bricks-item?id=9360466 |
|
|
| Report Abuse |
|
|
|
| 09 Dec 2012 03:07 AM |
| I want a script to automatically teleport all of the players or one random player to the brick |
|
|
| Report Abuse |
|
|
Fir3bl4ze
|
  |
| Joined: 13 Jul 2012 |
| Total Posts: 310 |
|
|
| 09 Dec 2012 10:53 AM |
Here it is. Just change it alittle if you want it on entry or something like on touch
TeleportLocation = CFrame.new(0,0,0) -- set the location to be teleported to, can also be a bricks CFrame 'TeleportLocation = game.Workspace.Teleport.CFrame'
Players = {}
function GatherPlayers() local players = game.Players:GetChildren() for i = 1,#players do table.insert(Players,i,players[i].Name) end end
function RandomPlayer() GatherPlayers() return Players[math.random(#Players)] end
--Finding random player and placing them at the teleport location RandomPlayer = RandomPlayer() game.Players[RandomPlayer].Character.Torso.CFrame = TeleportLocation
|
|
|
| Report Abuse |
|
|