Preventing Exploits

So, I was looking up exploits so I can try to prevent them in my game, and I came across this. What does it mean?

getglobal("game")
getfield-1,("Players")
getfield(-1,"LocalPlayer")
getfield(-1,"leaderstats")
getfield(-1 "-STATNAME")
pushumber(-STATNAME)
setfield(-2, "Value")
emptystack()

those are just lines that call functions, idk what the functions do because I can’t see them

I know they call functions, but they seem to be built-in functions. I need to know what they do. Found one of them on ROBLOX API refrence: ScriptDebugger:GetGlobals (roblox.com). It’s close, but i dont think its the same thing

I doubt these are global functions

They are in C#. Type.GetField Method (System) | Microsoft Docs

C# isn’t lua

can I have more proof?

Yeah, they arent in roblox just realized that, is there anything I can do to prevent this

That’s the so-called “lua c” syntax used by exploits before FilteringEnabled times. Such kinds aren’t around anymore, nor should you be worried about them if they were, since their capabilities are too limited to do anything other than running small lines of code.

And no you can’t prevent exploits. Just have proper server-sided checks.

proof of what?
text limits omg

proof that these do anything at all

HOW TO GET INFINITE MONEY ON ANY ROBLOX GAME FOR FREE - YouTube

found it there in comments, havent tested it

I can’t even find the comment?

whoops wrong vid. HOW TO GET UNLIMITED MONEY IN ANY ROBLOX GAME! | Roblox Exploit 2020 - YouTube in comments