I mean, how, in my LocalScript I will interact sending this ignorelist table to my current hacked Invisicam script?
PlayerModule as I explained in my post before. It should be put into
Yeah, I already did and it’s working as I said before.
But my question now is how can I send my current ignore list table that is located in my Localscript to this hacked script.
Put the table in the hacked script, not in the LocalScript. Then, find where the Invisicam script uses the
GetPartsObscurringTarget function and add the table to the second parameter.
I can’t, this table is generated and controlled by LocalScript and is vital for the game.
I already understand what to change in the Invisicam script, but I would just like someone to tell me how do I communicate my Localscript with the Invisicam script
Oh, I see. You may need to create
ObjectValues in the Invisicam script through the local script. Then you can use the Invisicam script to go through all the object values, get the value, and add it to a table.
I wouldn’t call this a hacked script, it’s just an edited script.
BaseValue objects is probably the best solution in this case, as you can seemlessly share data between scripts. Also, @rogeriodec_games , you can use
unpack() function to easily integrate your blacklist into the blacklist table of
I haven’t tested it yet, but does it mean that if I have 1000 objects to blacklist, I will have to create 1000 ObjectValues?
I don’t know if this will be good for the game’s performance.
This is getting more and more complicated.
It was supposed to be simple: make Invisicam be activated only for parts of the ceiling and walls, which are few.
In this case, instead of ignorelist, it would be easier to whitelist, as in the case of raycast.
You can also use
True, I’d use an “if” statement for that. Check if a part is in the whitelist and make it transparent, or leave it normal if its not in there.
So it is.
Maybe now the solution is to use the “edited” (not hacked ) Invisicam script just prevent the parts from being transparent, as the original @debugger57 solution.
And so, I should keep working on my local raycast solution so I can have more flexibility with a whitelist.