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 » Scripters
Home Search
 

Re: $100 Robux If you fix this script!

Previous Thread :: Next Thread 
YBEKIROV2328 is not online. YBEKIROV2328
Joined: 21 Feb 2013
Total Posts: 21
04 Nov 2015 08:18 PM
Hey guys, I cant figure out my script wont teleport everyone it only teleports me here it is. Paying $100 Robux for who fixes it! <3

local TeleportAll = function(Integer)
for Index, Value in pairs(Game:GetService("Players"):GetPlayers()) do
Game:GetService("TeleportService"):Teleport(Integer, Value.Character)
end
end
TeleportAll(1818)
Report Abuse
namerplz is not online. namerplz
Joined: 08 Jul 2011
Total Posts: 91
04 Nov 2015 08:19 PM
for i,v loop
Report Abuse
YBEKIROV2328 is not online. YBEKIROV2328
Joined: 21 Feb 2013
Total Posts: 21
04 Nov 2015 08:20 PM
???
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
04 Nov 2015 08:20 PM
local TeleportAll = function(Integer)
for Index, Value in pairs(Game:GetService("Players"):GetPlayers()) do
Game:GetService("TeleportService"):Teleport(Integer, Value)
end
end
TeleportAll(1818)
Report Abuse
YBEKIROV2328 is not online. YBEKIROV2328
Joined: 21 Feb 2013
Total Posts: 21
04 Nov 2015 08:25 PM
This only teleports me. I need it to teleport every one.
Report Abuse
namerplz is not online. namerplz
Joined: 08 Jul 2011
Total Posts: 91
04 Nov 2015 08:27 PM
gameId = 34234
player = game.Players:GetPlayers()

while wait() do
for i = 1, #player do
if player[i].Character then
game:GetService("TeleportService"):Teleport(gameId, player[i].Character)
end
end

end
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
04 Nov 2015 08:30 PM
Thats pretty bad nonamer
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
04 Nov 2015 08:31 PM
well unless that was his intent on when you join a server it instantly teleports you.
Report Abuse
namerplz is not online. namerplz
Joined: 08 Jul 2011
Total Posts: 91
04 Nov 2015 08:32 PM
I think is intent is to teleport players to his game.

How is it bad?
Report Abuse
namerplz is not online. namerplz
Joined: 08 Jul 2011
Total Posts: 91
04 Nov 2015 08:33 PM
His*
Report Abuse
YBEKIROV2328 is not online. YBEKIROV2328
Joined: 21 Feb 2013
Total Posts: 21
04 Nov 2015 08:39 PM
The script only teleports me not all the player c.c
Report Abuse
iSymon is not online. iSymon
Joined: 19 Nov 2011
Total Posts: 1023
04 Nov 2015 08:53 PM
I hope you know you don't teleport the character.
Report Abuse
Darkenus is not online. Darkenus
Joined: 17 Jul 2014
Total Posts: 1997
04 Nov 2015 09:05 PM

function teleportAll(placeID)
for i,v in next, game.Players:GetPlayers() do
game:GetService("TeleportService"):Teleport(placeID, v)
end
end

teleportAll(1818) --change here



--Will teleport everyone to 1818.
Report Abuse
iSymon is not online. iSymon
Joined: 19 Nov 2011
Total Posts: 1023
04 Nov 2015 09:11 PM
You basically coded what I was saying. He was trying to teleport the Character to another place lol.
Report Abuse
Darkenus is not online. Darkenus
Joined: 17 Jul 2014
Total Posts: 1997
04 Nov 2015 09:20 PM
Yah, I was reading through all the examples and I was like... why are you guys teleporting the character. I just removed the local teleportall = function cuz i don't like that I just do function() and I made his code simpler.




#900 POSTS
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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