VINDICTA.TOP
Closures · Function
Bunni.fun
ChocoSploit
Cryptic
Potassium
Seliware
SirHurt
Solara
Velocity
Volcano
Volt
Wave
Xeno

checkcaller

Returns whether the current function was called by the executor.

function checkcaller(): booleanbooleantrue if the current caller is executor-owned, false otherwise.

Usage

Security guard
hookfunction(game.Workspace.FindFirstChild, newcclosure(function(self, name, recursive)
	if checkcaller() then
		print("Executor called FindFirstChild for:", name)
	end
	return hookfunction_original(self, name, recursive)
end))