|
| 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 |
|
|
|
| 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 |
|
|
|
| 02 Oct 2012 07:00 AM |
| Thanks, it appears to be having some problems however |
|
|
| Report Abuse |
|
|
usama8800
|
  |
| Joined: 29 Dec 2009 |
| Total Posts: 225 |
|
|
| 02 Oct 2012 08:10 AM |
| Would be specific with "some" |
|
|
| Report Abuse |
|
|
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 |
|
|