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: What? Why won't this work?!

Previous Thread :: Next Thread 
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
28 Oct 2011 10:24 PM
while wait(1) do
script.Parent.Parent.Humanoid:MoveTo(Vector3.new(math.random(-150/2,150/2-5),0.2,math.random(-150/2,150/2-5)),game.Workspace.Base)
wait(1)
end

There's no output either...
Report Abuse
Ganondude is not online. Ganondude
Joined: 22 Jun 2007
Total Posts: 1175
28 Oct 2011 10:39 PM
Could there be something earlier in the script preventing this section of code from running?
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
28 Oct 2011 10:42 PM
while wait(1) do
script.Parent.Parent.Humanoid:MoveTo(Vector3.new(math.random(-150/2,150/2-5),0.2,math.random(-150/2,150/2-5))*game.Workspace.Base)
wait(1)
end -- try this. And btw, I dont think you can move humanoids.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
28 Oct 2011 10:59 PM
Mr, yes you can, and also I fixed it... I just used BodyPosition, but NOW I need to fix the Tornado take affect... It was working before though LOL XD.
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