johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 13 Aug 2013 11:55 AM |
If I have a NumberValue in a LocalScript that is in the PlayerGui of a character, would regular scripts be able to access that value?
|
|
|
| Report Abuse |
|
|
tummey2
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 1802 |
|
|
| 13 Aug 2013 11:56 AM |
If you mean...
PlayerGui > LocalScript > NumberValue
Then yes, a normal script would be able to access that. |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 13 Aug 2013 11:57 AM |
| Can Clien1 1 access Client 2's localscripts and things that are in them? |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 13 Aug 2013 11:58 AM |
| In terms of descendants of the physical object, obviously. |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 13 Aug 2013 11:59 AM |
| How can I make a Value that can only be accessed by the client? Should I use Global functions to keep a value stored? |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 13 Aug 2013 12:01 PM |
So many questions. Also, can other client's scripts/localscripts delete a different client's localscripts(not regular scripts)? |
|
|
| Report Abuse |
|
|
tummey2
|
  |
| Joined: 04 Feb 2009 |
| Total Posts: 1802 |
|
|
| 13 Aug 2013 12:01 PM |
LocalScripts can't access other client's PlayerGuis.
So no. |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 13 Aug 2013 12:04 PM |
I think I'll use globalfunctions, unless told otherwise.
Can hackers open and lookat/edit their own localscripts? |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 13 Aug 2013 12:11 PM |
| Yes, because they're ran client side. Server side scripts however, do not replicate to the client preventing exploiters from opening them/editing them. |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 13 Aug 2013 12:19 PM |
So I can make a regular script detect if a localscript has been deleted and then perma crashban him via datapersistence? How can I chec kto see if a localscript has been edited? |
|
|
| Report Abuse |
|
|