Universal Script 📌
521 Views
99 Executions

getgenv shp hookfunction hookmetamethod for putrid bad execs

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

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

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

Updates

  1. Script edited: Update script

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
2 months ago

these are not accurate

1
IQUITEXPLOITING's profile picture
IQUITEXPLOITING6 months ago

what are those pictures bro.

1

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 3 hours ago
Key System
Universal Script 📌
9.1k
31.7k
Bumped 4 hours ago
Script hub
49.8k
12.4k
Bumped 5 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 9 hours ago
Key System
Script hub
20.6k
4.0k
Bumped 10 hours ago
Key System
Paid
Universal Script 📌
736
221
Approved 16 hours ago
Universal Script 📌
641
2.7k
Approved 16 hours ago