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: If part size is bigger than...

Previous Thread :: Next Thread 
BlockzieCartI is not online. BlockzieCartI
Joined: 28 Sep 2009
Total Posts: 812
02 Oct 2012 04:17 AM
I need some help with a script, I want to prevent bricks being made bigger than a certain size. Is there anyway to check this?

e.g.
If script.Parent.Size = <"100", <"100",<"100",

That didn't seem to work, so does anyone know how I would do it?
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
02 Oct 2012 06:50 AM
First off,
that's less than.

Second,
you need to use use Vector3.new()

if script.Parent.Size ​> Vector3.new(100, 100, 100) then
Report Abuse
BlockzieCartI is not online. BlockzieCartI
Joined: 28 Sep 2009
Total Posts: 812
02 Oct 2012 07:00 AM
Thanks, it appears to be having some problems however
Report Abuse
usama8800 is not online. usama8800
Joined: 29 Dec 2009
Total Posts: 225
02 Oct 2012 08:10 AM
Would be specific with "some"
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
02 Oct 2012 09:49 AM
i don't think that vector3 includes __lt metamethod
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