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
 

Re: Teleportation

Previous Thread :: Next Thread 
Roblonofski is not online. Roblonofski
Joined: 20 Sep 2012
Total Posts: 534
08 Dec 2012 04:02 PM
How do i get a player to teleport to a brick?
Report Abuse
TeamDman is not online. TeamDman
Joined: 04 Dec 2009
Total Posts: 897
08 Dec 2012 04:14 PM
With scripts.

§TeamDman§ Anti-Jared
Report Abuse
Fir3bl4ze is not online. 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
Roblonofski is not online. Roblonofski
Joined: 20 Sep 2012
Total Posts: 534
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 is not online. 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
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