You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, this is gonna sound like an odd one, but... this is for Roblox LUA code by the way.
So, in normal circumstances, this code would execute just fine without obfuscation. The issue is putting ": string" after a function, like in my example. This issue isn't too big a deal, but since I encountered it, I felt I should report this bug.
To Reproduce my error, you will want to try and obfuscate the ModuleScript code and you'll get: Parsing Error at Position 3:30, unexpected token <Symbol> ":", expected <Keyword> "end"<-[0m
LocalScript:
local MyModule = require(script:WaitForChild'ModuleScript')
MyModule.myFunction()
ModuleScript:
local MyModule = {}
function MyModule.myFunction(): string
print("Hello from myFunction!")
end
return MyModule
The text was updated successfully, but these errors were encountered:
So, this is gonna sound like an odd one, but... this is for Roblox LUA code by the way.
So, in normal circumstances, this code would execute just fine without obfuscation. The issue is putting ": string" after a function, like in my example. This issue isn't too big a deal, but since I encountered it, I felt I should report this bug.
To Reproduce my error, you will want to try and obfuscate the ModuleScript code and you'll get:
Parsing Error at Position 3:30, unexpected token <Symbol> ":", expected <Keyword> "end"<-[0m
LocalScript:
ModuleScript:
The text was updated successfully, but these errors were encountered: