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: Small Problem please help.

Previous Thread :: Next Thread 
madgamers is not online. madgamers
Joined: 13 Jun 2012
Total Posts: 17
14 Feb 2016 11:03 AM
When I run this script, I get the error,
MoveTo is not a valid member of Part, I cant seem to fix it,

Player = game.Players.madgamers
Part = Instance.new('Part', workspace.Terrain)
Part.CanCollide = false
Part.Anchored = true

while true do
wait(0.5)
workspace.Terrain['Part']:MoveTo(Player.Character.Torso.Position-Vector3.new(0,10,0))
end

Report Abuse
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
14 Feb 2016 11:09 AM
MoveTo can only be used on Models and Humanoids, if used on a humanoid it will walk there, if used on a model the model will teleport.


Report Abuse
madgamers is not online. madgamers
Joined: 13 Jun 2012
Total Posts: 17
14 Feb 2016 11:17 AM
Oh, Alright thanks.
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