Universal Script 📌
513 Views
71 Executions

getgenv shp hookfunction hookmetamethod for putrid bad execs

Universal Script 📌
dolteddown
dolteddownPublished 5
6 months ago
Get an executor
Please login to perform these actions:

Does it work?

Early reports

0% say it works · 1 report in the last 2 weeks

Also noticed:

Description

(OPEN SOURCE) this adds getgenv(), sethiddenproperty, and both hooks to your executor only needs setscriptable for sethiddenproperty

View Raw
function getgenv()
return getfenv(0)
end
getgenv().gethiddenproperty = gethiddenproperty or newcclosure(function(_Instance, _Property)
	local x, UGCValidationService = pcall(game.GetService, game, "UGCValidationService")

	if x then
		local y, z = pcall(UGCValidationService.GetPropertyValue, UGCValidationService, _Instance, _Property)
		
		if y then
			return z
		end
	end
end)

getgenv().sethiddenproperty = sethiddenproperty or newcclosure(function(_Instance, _Property, _Value)
	local setscriptable = setscriptable

	if setscriptable == nil then
		return warn("setscriptable does not exist")
	else
		setscriptable(_Instance, _Property, true)
		_Instance[_Property] = _Value
		setscriptable(_Instance, _Property, false)
	end
end)
getgenv().hookfunction = function(func, rep)
	for i,v in pairs(getfenv()) do
		if v == func then
			getfenv()[i] = rep
		end
	end
end
getgenv().hookmetamethod = function(func, rep)
	for i,v in pairs(getgenv()) do
		if v == func then
			getgenv()[i] = rep
		end
	end
end


Comments

2
Log in to join the conversation. Login
voltex's profile picture
voltexKeyless Creator
Keyless Script Creator Badge
Keyless Script Creator
#23 this month1 month ago

these are not accurate

1
IQUITEXPLOITING's profile picture
IQUITEXPLOITING5 months ago

what are those pictures bro.

1

More universal scripts

See all
Universal Script 📌
3.9k
184.7k
Bumped 6 hours ago
Script hub
536
48
7 hours ago
Universal Script 📌
28.7k
666.0k
Bumped 8 hours ago
Script hub
14.0k
2.7k
Bumped 11 hours ago
Key System
Paid
Script hub
263.9k
88.2k
Bumped 11 hours ago
Key System
Universal Script 📌
3.1k
9.9k
Bumped 12 hours ago
Universal Script 📌
781
47
Approved 12 hours ago