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 » Game Design
Home Search
 

Re: MoveTo script broken?

Previous Thread :: Next Thread 
DerpyMerpKing is not online. DerpyMerpKing
Joined: 05 Feb 2011
Total Posts: 2553
28 Feb 2015 01:06 PM
game.Players.PlayerAdded:connect(function(plyr)
plyr.TeamColor = BrickColor.new("White")
local character = plyr:WaitForChild("Character")
local torso = character:FindFirstChild("Torso")
torso:MoveTo(game.Workspace.Spawn.Position)
end)

There is no output.
Report Abuse
DerpyMerpKing is not online. DerpyMerpKing
Joined: 05 Feb 2011
Total Posts: 2553
28 Feb 2015 01:24 PM
b
Report Abuse
purplescheer9 is not online. purplescheer9
Joined: 16 Jan 2011
Total Posts: 3852
28 Feb 2015 01:28 PM
i don't know what it is but it could possibly be that it doesn't find the torso or character. You could try putting prints in between each line to see where it breaks. My only guess as to what's doing it is maybe WaitForChild? But probably not. But I'd still try

~I like trees
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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