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: 10R$ for first good answer

Previous Thread :: Next Thread 
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 02:25 PM
I know its not a lot just some pocket money

I need a script to teleport all players at once to a certain place

For an extra 20R$

I need a script that teleports them back after all players have died or left
Report Abuse
Hibobb is not online. Hibobb
Joined: 18 Apr 2010
Total Posts: 2146
06 Mar 2014 02:31 PM
Why pay for an easy script
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 02:39 PM
I have R$ and i want answers fast :)
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 02:43 PM
Bump
Report Abuse
Hibobb is not online. Hibobb
Joined: 18 Apr 2010
Total Posts: 2146
06 Mar 2014 02:48 PM
Ok...

for i,v in pairs(game.Players:GetPlayers()) do
if v:FindFirstChild("Character") then
v.Character:MoveTo(x,y,z)-Position here
end
end

Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
06 Mar 2014 02:50 PM
best answer..findFirstChild doesn't work for character lol,i don't need the robux yknow..


for I,v in pairs(game.Players:GetPlayers()) do
if v.Character then
v.Character:MoveTo(Workspace.SpawnPlace1.Position)
end
end
wait(AmmountUntil they Tp Back Here)

for I,v in pairs(game.Players:GetPlayers()) do
if v.Character then
v.Character:MoveTo(Workspace.SpawnPlace2.Position)
end
end

done,dude this is on the wiki,yknow that right..?
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
06 Mar 2014 02:52 PM
(i dont want the money)

(Put this in a local script in the starterGui)

plr = script.Parent.Parent.Character
plr.Humanoid.Died:connect(function()
if plr:FindFirstChild("Humanoid") then
plr:MoveTo(game.Workspace.Cabin.Spawn)
end
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
06 Mar 2014 02:53 PM
change that last line to "end)"
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 03:07 PM
@mar
There is an error
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
06 Mar 2014 03:09 PM
Post the error
Report Abuse
djwill619 is not online. djwill619
Joined: 13 Jun 2011
Total Posts: 756
06 Mar 2014 03:13 PM
Players = game.Players:GetChildren()

while true do
Players.Character:MoveTo("Position Here")
end
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
06 Mar 2014 03:14 PM
they will never be able to move with that one!not to mention itll ml freeze the game!
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 03:16 PM
plr = script.Parent.Parent.Character
plr.Humanoid.Died:connect(function()
if plr:FindFirstChild("Humanoid") then
plr:MoveTo(game.Workspace.Cabin.Spawn)
end)
/\ Error here
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
06 Mar 2014 03:17 PM
You're not saying what line the error is on.
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 03:18 PM
Line 5
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
06 Mar 2014 03:18 PM
@mar

you forgot the ")"
at the last end
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 03:18 PM
Also this forum i also need help with :P
http://www.roblox.com/Forum/ShowPost.aspx?PostID=127426012#127426191
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
06 Mar 2014 03:19 PM
No, if you read my reply i put the ")"

try this i see my mistake

replace "end)" with

"end
end)"
Report Abuse
Whatitdo8 is not online. Whatitdo8
Joined: 05 Sep 2012
Total Posts: 1734
06 Mar 2014 03:21 PM
That fixed it
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