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 
Spectrial is not online. Spectrial
Joined: 15 Mar 2012
Total Posts: 3348
20 Aug 2013 10:58 PM
elseif hit.Name == "Grid" and hit.BrickColor == BrickColor.new("Dark green") and player.PlayerGui.Troops.Value > 0 and count > 0 and (hit.Position - game.workspace:findFirstChild(tostring(player.TeamColor)).Position).magnitude < 5 then

for some reason this isn't working, but it does work when i remove the magnitude portion. any reason why this wouldn't work?
Report Abuse
BJCarpenter is online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
20 Aug 2013 11:09 PM
Spectrial (if that IS your real name),

Have u gone quite insane?


M aybe, (tostring(player.TeamColor)) has a .position Property, but r u sure? Anyway, I don't care. Break this up into 3 lines. Put print statements after everyone, checking youir work...., and snog off.
Report Abuse
Spectrial is not online. Spectrial
Joined: 15 Mar 2012
Total Posts: 3348
20 Aug 2013 11:37 PM
dude what
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
20 Aug 2013 11:49 PM
BJ is drunk
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
20 Aug 2013 11:58 PM
I'm cringing on all the "cnt" I see spammed on last post
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
20 Aug 2013 11:59 PM
Wat
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
21 Aug 2013 12:03 AM
Nvm... nothing
Report Abuse
BJCarpenter is online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
21 Aug 2013 12:48 AM
And then what after the Veit-Nam war..., who tied your shoe-maces then... Uh, I ask you... whell do ya?
Report Abuse
froggodude is not online. froggodude
Joined: 22 Sep 2012
Total Posts: 1638
21 Aug 2013 12:52 AM
What's wrong with BJ???? Is he ok?
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