XAXA
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 6315 |
|
|
| 28 Oct 2013 12:39 PM |
local mo = Instance.new("Model", workspace) local p = Instance.new("Part", "mo") -- How do I make the second argument "work"? It has to still use a string. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2013 02:20 PM |
Get rid of the quotations:
local p = Instance.new("Part", mo) |
|
|
| Report Abuse |
|
|
XAXA
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 6315 |
|
| |
|
| |
|
|
| 28 Oct 2013 02:23 PM |
| No it does not have to use a string. In fact, it CAN'T use a string. The second argument MUST be an Instance userdata object. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2013 02:29 PM |
loadstring("return"..string.."") -- Haxy method. There must be a better way?
You have a flaw in your planning, you will need to try another method. Also, XAXA, I need some help with animations, if you could PM me it would be appreciated. |
|
|
| Report Abuse |
|
|
XAXA
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 6315 |
|
|
| 28 Oct 2013 02:37 PM |
| For my purposes, I want to use a string because I want to concatenate a table of strings to it, to shorten my code. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2013 03:44 PM |
| Shortened code doesn't matter if it just makes the code slower |
|
|
| Report Abuse |
|
|
XAXA
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 6315 |
|
| |
|
|
| 28 Oct 2013 03:48 PM |
Um.. Wha?
~I Stole your cookies |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2013 04:20 PM |
| Check your inbox, my post was blocked by the post, due to "Breaking rules", really wish they would fix that. |
|
|
| Report Abuse |
|
|