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
 

Can anyone help me with this please?

Previous Thread :: Next Thread 
upbeat0 is not online. upbeat0
Joined: 21 Dec 2010
Total Posts: 235
21 Dec 2013 05:52 PM
I cant get this to work. I've been looking at it over and over but there's no visible errors. please help D:






if script.Parent.Data.Position (-70.5, 191.799, 456.1) then
script.Parent:remove()
end
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
21 Dec 2013 05:53 PM
If "Data" is a brick then use this:

if script.Parent.Data.Position=Vector3.new(-70.5, 191.799, 456.1) then
script.Parent:remove()
end

if "Data" is a model then use this:

if script.Parent.Data.Position:MoveTo(-70.5, 191.799, 456.1) then
script.Parent:remove()
end
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
21 Dec 2013 06:14 PM
If its a model

script.Parent.Data:MoveTo(Vector3.new(x,y,z))
pretty sure you still need the Vector3
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
21 Dec 2013 06:14 PM
idk, I dont usually move models, Ive done it once.
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