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: magnitude?

Previous Thread :: Next Thread 
SlyCat123123Sly123 is not online. SlyCat123123Sly123
Joined: 09 Aug 2010
Total Posts: 663
09 Jul 2011 03:37 PM
How do I use it?

Would this work?

function poses()
pos1 = game.Workspace.Part.Position
pos2 = game.Workspace.Part2.Position
if (pos1 - pos2).magnitude == 10 then
pos1:remove()
pos2:remove()
end
end
poses()
Report Abuse
61352151511 is not online. 61352151511
Joined: 30 Nov 2009
Total Posts: 8094
09 Jul 2011 03:38 PM
It should, Ièm not sure if :remove() works. I capitalize my R in remove.

~ Mitch ~
Report Abuse
SlyCat123123Sly123 is not online. SlyCat123123Sly123
Joined: 09 Aug 2010
Total Posts: 663
09 Jul 2011 03:39 PM
If you use :remove() or :Remove() it's the same thing.
Report Abuse
SlyCat123123Sly123 is not online. SlyCat123123Sly123
Joined: 09 Aug 2010
Total Posts: 663
09 Jul 2011 03:39 PM
NICE, 5,000th post!
Report Abuse
SlyCat123123Sly123 is not online. SlyCat123123Sly123
Joined: 09 Aug 2010
Total Posts: 663
09 Jul 2011 03:40 PM
613, I hope you know my main is flappydavid... XD
Report Abuse
61352151511 is not online. 61352151511
Joined: 30 Nov 2009
Total Posts: 8094
09 Jul 2011 03:49 PM
I didn't know that, I didn't know it was my 5000th post either. Now I missed both the 4000th and 5000th

~ Mitch ~
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