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's wrong with this script

Previous Thread :: Next Thread 
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 08:48 PM
[ Content Deleted ]
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 08:49 PM
[ Content Deleted ]
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 08:50 PM
[ Content Deleted ]
Report Abuse
Cawlonee is not online. Cawlonee
Joined: 03 Mar 2014
Total Posts: 2687
28 Sep 2014 08:52 PM
I'm pretty sure there is no "Brick" instance.

And it does need a parent before you can move it.

Instance.new("Part",game.Workspace):MoveTo(Game.Workspace.extremeflames29.Head.Position)
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
28 Sep 2014 08:57 PM
Yes, Caw is Correct. There is no such thing as a brick, you must use part.
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:03 PM
[ Content Deleted ]
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
28 Sep 2014 09:04 PM
Are you testing this in studio or player?
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:04 PM
[ Content Deleted ]
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:06 PM
[ Content Deleted ]
Report Abuse
Cawlonee is not online. Cawlonee
Joined: 03 Mar 2014
Total Posts: 2687
28 Sep 2014 09:07 PM
Try separating it.

Part = Instance.new("Part",game.Workspace)

Part:MoveTo(Game.Workspace.extremeflames29.Head.Position)


if that doesn't work, add

wait(5)
in between the lines and see if it fixes it. If so, you're trying to move the part too soon after it was parented. It's a bit glitchy, not sure exactly how it works.
Report Abuse
Cawlonee is not online. Cawlonee
Joined: 03 Mar 2014
Total Posts: 2687
28 Sep 2014 09:08 PM
Oh, of course!

MoveTo only works with models.

Instance.new("Part",game.Workspace).CFrame = CFrame.new(Game.Workspace.extremeflames29.Head.Position)
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
28 Sep 2014 09:09 PM
I mean, are you testing it in the ROBLOX game player or are you playing it solo?
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:12 PM
[ Content Deleted ]
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:12 PM
[ Content Deleted ]
Report Abuse
georgeba is not online. georgeba
Joined: 29 Oct 2011
Total Posts: 1092
28 Sep 2014 09:12 PM
Oh.. Hmmm
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:23 PM
[ Content Deleted ]
Report Abuse
extremeflames29 is not online. extremeflames29
Joined: 08 Jun 2011
Total Posts: 14854
28 Sep 2014 09:23 PM
[ Content Deleted ]
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