enyahs7
|
  |
| Joined: 25 Apr 2008 |
| Total Posts: 9820 |
|
|
| 04 Oct 2013 12:15 PM |
| No im not asking for the script but im not sure how I could go about doing this is there a way to disable people entering scripts and such? |
|
|
| Report Abuse |
|
|
|
| 04 Oct 2013 12:37 PM |
| make a script that recognizes everything in your game and removes any foreign entry's, kind of like an immunity system. |
|
|
| Report Abuse |
|
|
enyahs7
|
  |
| Joined: 25 Apr 2008 |
| Total Posts: 9820 |
|
|
| 04 Oct 2013 12:42 PM |
| Alright but like is there even a way to track if someone enters a script or anything into your game? |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 04 Oct 2013 12:49 PM |
There is now.
Put all of your main game scripts inside ServerScriptStorage.
This will, first of all, stop people from stealing your game, since that service isn't replicated.
Second, connect a function to the DescendantAdded function of Workspace, and put a marker inside all of the items you create.
If the marker isn't there, destroy the item(s). |
|
|
| Report Abuse |
|
|
enyahs7
|
  |
| Joined: 25 Apr 2008 |
| Total Posts: 9820 |
|
|
| 04 Oct 2013 01:18 PM |
| So wait lets say I have a gui or something how would I add the security into them then? |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 04 Oct 2013 01:21 PM |
Same way. Put markers into the objects in StartGUI, and do DescendantAdded on each of the players' PlayerGUIs.
If something is added to StarterGUI, just destroy it because that should never happen once a game is running. |
|
|
| Report Abuse |
|
|
enyahs7
|
  |
| Joined: 25 Apr 2008 |
| Total Posts: 9820 |
|
|
| 04 Oct 2013 01:25 PM |
| What do you mean by Markers? Sorry this is like a new function and I don't really understand it. |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 04 Oct 2013 01:35 PM |
| Just NumberValues or ObjectValues or any other Value object. |
|
|
| Report Abuse |
|
|