Skip to content

[BUG] Can't Obfuscate operations with "+=" #157

@Multitude1337

Description

@Multitude1337

Describe the bug
So, the bug happens when you try to obfuscate any code using += and probably even -=.

Expected behavior
Usually, you would do count += 1 and that would yield the same result as count = count + 1. But, the obfuscator errors upon such operation.

So, it would normally just add whatever you put after += to the variable and vise versa with -=.

To Reproduce
Steps to reproduce the behavior:

local count = 0
while true do
wait(1)
count += 1 --Parsing Error at Position 4:5, unexpected token <Symbol> "+", expected <Symbol> "=" <-0m
print(tostring(count))
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions