hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 17 Feb 2015 11:31 AM |
How would I make this be a table instead of this if script.Parent.Loc.Value == "This" or "is" or "just"or ""text" then
would it be
a = "","","","","","","","","","","","","","","","" if script.Parent.Loc.Value == (a) then end
thanks
I'm blue I'm in need of a guy, If I were green I would die, I repeat I would die, I got more apple pie, Bacon I fry. |
|
|
| Report Abuse |
|
cala13er
|
  |
| Joined: 07 Feb 2010 |
| Total Posts: 191 |
|
|
| 17 Feb 2015 11:37 AM |
No, that would not work.
You would need something like this.
for i=1, #a do if script.Parent.Loc.Value == a[i] then ---Do stuff here--- end |
|
|
| Report Abuse |
|
|
| 17 Feb 2015 11:44 AM |
mammoth; print("1") end
^script works. promise. gives you 169000000 mammoths that will hack your game and send 150 angry greaseballs round to your house with machine guns. |
|
|
| Report Abuse |
|