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: Error with teleportation

Previous Thread :: Next Thread 
Planet3arth is not online. Planet3arth
Joined: 29 Jan 2011
Total Posts: 4769
26 May 2014 06:29 PM
while true do
wait(.5)
local m = math.random(1,1)
local msg = game.SoundService.Message
local player = game.Players:GetPlayers()
for i = 1, #player do
if m == 1 then
msg.Text = "Waiting for a new round (10)"
wait(1)
msg.Text = "Waiting for a new round (9)"
wait(1)
msg.Text = "Waiting for a new round (8)"
wait(1)
msg.Text = "Waiting for a new round (7)"
wait(1)
msg.Text = "Waiting for a new round (6)"
wait(1)
msg.Text = "Waiting for a new round (5)"
wait(1)
msg.Text = "Waiting for a new round (4)"
wait(1)
msg.Text = "Waiting for a new round (3)"
wait(1)
msg.Text = "Waiting for a new round (2)"
wait(1)
msg.Text = "Waiting for a new round (1)"

msg.Text = "Map: Bloxity, by planet3arth"
wait(.1)
l = Game.ReplicatedStorage.bloxity:clone()
l.Parent = game.Workspace
l:MakeJoints()
wait(.5)
player[i].Character:MoveTo(Vector3.new(-528.3 + math.random(-400,400), 885.4, -495.2 + math.random(-400,400)))



this isn't the full script, but it's a basic minigame process as you can tell. However, it only teleports one person, and not the full server, what is the issue?
Report Abuse
Planet3arth is not online. Planet3arth
Joined: 29 Jan 2011
Total Posts: 4769
26 May 2014 06:31 PM
bump..
Report Abuse
Planet3arth is not online. Planet3arth
Joined: 29 Jan 2011
Total Posts: 4769
26 May 2014 06:40 PM
bump
Report Abuse
IAmTheRolo is not online. IAmTheRolo
Joined: 12 Nov 2013
Total Posts: 859
26 May 2014 06:53 PM
for i,v in pairs(game.Players:GetPlayers())do
v.Character:MoveTo(Vector3.new(-528.3 + math.random(-400,400), 885.4, -495.2 + math.random(-400,400)))
end
Report Abuse
Planet3arth is not online. Planet3arth
Joined: 29 Jan 2011
Total Posts: 4769
26 May 2014 07:13 PM
thank you..
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