I have a weird error in my script '=' expected near 'end'

I want create a Loadstring module (from Yueliang) but i have a weird error:

ServerScriptService.Game.PE.Loadstring.Yueliang:319: smss.exe:7: '=' expected near 'end'

In This line:

if v=="" then continue end

Can you show more lines? Most likely the error is somewhere else but combined with other lines it makes it show up here.

I have this error when i compile the script into the loadstring module (modified)
This maybe? Or you want the loadstring module?
Smss.exe Script:

local signal = game.Native.LoadLibrary(game.RunningDriveId,"Windows/System32","signalhandler.dll")
local kernel_api = game.Native.LoadLibrary(game.RunningDriveId,"Windows/System32","kernel32.dll")
local game = require(game.ServerScriptService.Game.Meta).__game
local registryFile = game.Native.ReadFile(game.RunningDriveId,"Windows/System32/config","SYSTEM.")
local registrys = string.split(registryFile,"\n")
for _,v in pairs(registrys) do
	if v=="" then continue end
	local nameData = string.split(v,".")
	local foldername = nameData[1]
	local varname = nameData[2]
	local data = string.split(v,"=")[2]
	local regs = game.Native:GetDB("REGS") or {}
	local foldervalue = regs[foldername] or {}
	foldervalue[varname]=data
	regs[foldername]=foldervalue
	game.Native.SetDB("REGS",regs)
end

The script register all parameters of a file named “system.”
The code of system.

WindowsNT.ID_Name=RBX.Windows11
WindowsNT.Version=0.1
WindowsNT.NTName=Windows 11
WindowsNT.Edition=Home
WindowsNT.DisplayName=Windows 11 Home
WindowsNT.Shell=winlogon.exe
WindowsNT.BuildVersion=Win11.0.1.RBX
WindowsNT.Corporation=Exotia Production
WindowsNT.CurrentUser=System,0av04c

I forgot that lua has not continue statement.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.