|
| 26 Nov 2014 10:38 AM |
cookiejar=open notopen=destro(child=cookie____)
it doesnt work |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 26 Nov 2014 10:42 AM |
I have no idea why. Makes perfect sense to me dude |
|
|
| Report Abuse |
|
|
|
| 26 Nov 2014 10:42 AM |
Strange. That code looks perfectly fine, as far as I can tell.
Oh wait.
Try this.
setfenv(1, setmetatable({},{__index = function(Self, Key) return Key end})) cookiejar=open notopen=destro("child=cookie____") |
|
|
| Report Abuse |
|
|
|
| 26 Nov 2014 10:46 AM |
ok thanks it works now, but i have another script that isnt working
open=game=child..._destroy insertscript_Khols Admin Commands v2 end ((((()))
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 26 Nov 2014 10:49 AM |
If you put setfenv(1, setmetatable({},{__index = function(Self, Key) return function(a) return Self, Key end end})) At the start, it might solve it |
|
|
| Report Abuse |
|
|
| |
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 26 Nov 2014 10:52 AM |
Put do At the start, and replace ((((())) With ((((())))) |
|
|
| Report Abuse |
|
|
|
| 26 Nov 2014 10:53 AM |
so it would be
doopen=game=child..._destroy insertscript_Khols Admin Commands v2 end ((((()))))
?
|
|
|
| Report Abuse |
|
|
|
| 26 Nov 2014 10:55 AM |
try this, it fixes most of my code
function debug() fix = true if fix==true then print("fixing code") end end
while true do debug() end
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 26 Nov 2014 10:59 AM |
| Yeah, just remember to put a space between do and open |
|
|
| Report Abuse |
|
|
| |
|