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: Help! (Unpatient)

Previous Thread :: Next Thread 
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
18 Feb 2012 09:53 PM
I don't have much time but I would like to finish something off so here's the problem:

if game.Players.LocalPlayer.Character.Torso.Velocity >= Vector3.new(1, 1, 1) then --Problem!

Output
attempt to compare two userdata values (or something like that)
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
18 Feb 2012 09:56 PM
It's because you can't compare two userdata values

-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
18 Feb 2012 09:57 PM
Is their another way?
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
18 Feb 2012 10:01 PM
Bump
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
19 Feb 2012 08:54 AM
Bump!
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
19 Feb 2012 09:28 AM
Bump
Report Abuse
Drak0Master is not online. Drak0Master
Joined: 10 Aug 2009
Total Posts: 836
19 Feb 2012 09:29 AM
The only way you can compare is to use the X, Y, and Z value, and compare all three seperately.

By the way, Impatient*
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
19 Feb 2012 09:42 AM
Thanks! x3 it was night when I posted this, if you looked at my other post (http://www.roblox.com/Forum/ShowPost.aspx?PostID=63084602) I was falling asleep xD
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
19 Feb 2012 10:01 AM
How do you do that?
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
19 Feb 2012 10:23 AM
Bumpo!
Report Abuse
lucas301 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
19 Feb 2012 10:37 AM
Nevermind... I've solved it ^.^
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