| |
|
Firehoaxx
|
  |
| Joined: 24 Dec 2015 |
| Total Posts: 950 |
|
|
| 22 Sep 2017 10:44 AM |
Like a string you can, but you cant store instances
--Random Sequence Of Numbers |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2017 10:46 AM |
^ i knew that you cannot save instances, but since roblox doesn't let you edit source in scripts, do you need to use linked source or what?
|
|
|
| Report Abuse |
|
|
soutenu
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 1021 |
|
|
| 22 Sep 2017 10:46 AM |
| you could save it as a string, or the number of an asset you can insert |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Sep 2017 10:59 AM |
| The Source property of a script cannot be read or written, only a plugin can do so. |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2017 11:02 AM |
what about save data which then a very advanced script can read and perform the correct functions.
That would be a super cool script |
|
|
| Report Abuse |
|
|
soutenu
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 1021 |
|
|
| 22 Sep 2017 11:03 AM |
@chexy that is irrelevant in this case, OP could just enable loadstrings then run the script that way. i.e:
loadstring'print(5)'''; |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2017 11:05 AM |
| You can save strings but having loadstring() enabled in your place doesn't make it very secure. |
|
|
| Report Abuse |
|
|
soutenu
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 1021 |
|
|
| 22 Sep 2017 11:06 AM |
| @Mister that was a while ago, pretty sure exploiters can use loadstring regardless of if it is enabled or not anyways...so it's useless |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2017 11:09 AM |
the game i will (try) to create is a single player game, so it doesn't really matter
|
|
|
| Report Abuse |
|
|