Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
|
| 09 Mar 2013 09:24 PM |
local admin = {Garnished} wait(10) local m = Instance.new("Message", Workspace) setmetatable(admin, {Garnished, tdawgtren} m.Text = (admin)
I'm trying to set the text to the metatable, is this possible? |
|
|
| Report Abuse |
|
|
|
| 09 Mar 2013 09:42 PM |
I think you should learn how tables work first before diving into metatables. For your thing though, you can make it quite simple like so:
local admin = "Garnished" Wait(10) local m = Instance.new("Message",Workspace) m.Text = admin |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
|
| 09 Mar 2013 09:45 PM |
^ I know how tables work, I just need to use a metatable. nob |
|
|
| Report Abuse |
|
|
|
| 09 Mar 2013 09:46 PM |
| Then why did you put your name by itself within a table? It will view that as an unassigned variable and treat it as 'nil' just like any other non-indexed item in a table. |
|
|
| Report Abuse |
|
|