Obfuscating methods using getfenv?

How can I obfuscate methods like game:GetService(“RunService”):IsStudio()
using getfenv function?
It’s diffrent from function so I’m confused how I can obfuscate.

You can obfuscate a string by using ASCII escape sequences and then execute loadstring on the obfuscated string from

getfenv()["loadstring"] 

or

getfenv()["\108\111\97\100\115\116\114\105\110\103"]

and then executing the function.

Obfuscation will rarely solve your problems. Why do you want to obfuscate methods?

You can just use a free bytecode vm obfuscator.

That is not obfuscation. It’s extremely easy to convert that back into text.

Admittedly at the time I wrote this (nearly a whole year ago) I didn’t use “obfuscate” in the clear and obvious sense, relevant to programming. I was using it in the sense of its English definition: to make unintelligible.

This does not justify the year-later bump though… try reading the guidelines before posting some day.

It says 15 days to me, but alright.