lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 06 Apr 2013 08:41 AM |
I just scripted this function
function msg(message, dur) if msg and dur then m=Instance.new("Message", Workspace) m.Text=msg wait(dur) m:remove() end end
and called on it as so:
msg("WIJ//HOLO[3]//PROGRAM//LOADED["..string.upper(chosen).."]//Enter_when_ready//", 5) |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
|
| 06 Apr 2013 08:48 AM |
"if msg"
... If the function and dur then?
... |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 08:50 AM |
m.Text = function
......................................................................... |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
|
| 06 Apr 2013 08:53 AM |
You're not. Happens to everybody.
Unless they pay attention... a lot... |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 06 Apr 2013 08:54 AM |
?
function msg(message, dur) if message and dur then m=Instance.new("Message", Workspace) m.Text=msg wait(dur) m:remove() end end |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2013 08:55 AM |
m.Text = msg
>m.Text = a function |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 06 Apr 2013 08:55 AM |
| Because it's still now working.. |
|
|
| Report Abuse |
|
|
Cupkle
|
  |
| Joined: 18 Jun 2012 |
| Total Posts: 180 |
|
|
| 06 Apr 2013 08:56 AM |
You defined the parameter 'message' but used 'msg' instead, which is the name of the function.
function msg(message, dur) if message and dur then local m=Instance.new("Message", Workspace) --you should make this local m.Text=message wait(dur) m:remove() end end
Now that's right. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 06 Apr 2013 08:56 AM |
| I'll try it, thanks both of you |
|
|
| Report Abuse |
|
|