|
| 23 Mar 2014 05:25 AM |
m = Instance.new("Hint", workspace) m.Text = _G.message wait(5) m:Destroy() script.Disabled = true
the "_G" and everything else doesn't comply with me
i started learning yesterday and am asking scripter helpers but no one has replied for 24 hours |
|
|
| Report Abuse |
|
|
yoyoman2
|
  |
| Joined: 07 Mar 2009 |
| Total Posts: 2170 |
|
|
| 23 Mar 2014 10:41 AM |
_G is a global table, meaning that if you put _G.message = "secret" in any other script in the game, then m.Text will also be "secret".
please take your questions to scripting helpers, Im sure they will be much happier to help you then people here. |
|
|
| Report Abuse |
|
|
| |
|
drahsid5
|
  |
| Joined: 13 May 2011 |
| Total Posts: 3937 |
|
|
| 23 Mar 2014 08:46 PM |
set _G values like this: _G.["Value"] = "Pie" use them like print(_G.Value) |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 23 Mar 2014 09:03 PM |
| That's going to error btw, drah. |
|
|
| Report Abuse |
|
|
200AB
|
  |
| Joined: 24 Aug 2010 |
| Total Posts: 1604 |
|
|
| 23 Mar 2014 10:40 PM |
| Pro Tip: If your thread starts with any form of "i know this is the wrong forum," you probably shouldn't post it... |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2014 01:19 AM |
Deep water's still run .true() Lol |
|
|
| Report Abuse |
|
|