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: how do i...

Previous Thread :: Next Thread 
1234andrewh is not online. 1234andrewh
Joined: 21 Apr 2012
Total Posts: 459
19 Jun 2013 06:11 PM
make this script into a gui button

function TeleportPlayers()
math.randomseed(tick())
local players = game:GetService("Players"):GetPlayers()
for i=1,24 do
if #players==0 then break end
local current = math.random(1,#players)
local position = Vector3.new(0,0,0)
if players[current] and players[current].Character then
players[current].Character:MoveTo(position)
end
end
end

wait(2)
TeleportPlayers()
also how would you make it teleport only the person how clicked
note: i can make guis
Report Abuse
1234andrewh is not online. 1234andrewh
Joined: 21 Apr 2012
Total Posts: 459
19 Jun 2013 07:12 PM
bump
Report Abuse
Preston99 is not online. Preston99
Joined: 21 Sep 2008
Total Posts: 247
19 Jun 2013 07:12 PM
Learn to script before working with things like that.
Report Abuse
1234andrewh is not online. 1234andrewh
Joined: 21 Apr 2012
Total Posts: 459
19 Jun 2013 07:13 PM
i know how to script just help me please
P.S. need proof look at my game!
Report Abuse
DivineDeity is not online. DivineDeity
Joined: 04 May 2013
Total Posts: 435
19 Jun 2013 07:24 PM
FREE MODELS
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