-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
New functionAdding a previously missing or new functionAdding a previously missing or new functionStandard ChangesChanges to the standardChanges to the standard
Description
https://synapsexdocs.github.io/libraries/syn/ ctrl F Secure Call
syn.secure_call( func, <script> script, <...> args)
Spoofs caller environment and context when calling func with script's environment. You can pass as many arguments args as is required. Secure_call returns whatever the called function returns.
Example
local KeyHandler = require(game:GetService("ReplicatedStorage").Assets.Modules.KeyHandler)
local PlayerName = game:GetService("Players").LocalPlayer.Name
local FakeEnv = game:GetService("Workspace").Live[PlayerName].CharacterHandler.Input
local Result = syn.secure_call(KeyHandler, FakeEnv)
local Event = syn.secure_call(Result.getKey, FakeEnv, "ApplyFallDamage", "plum")
--do whatever
everything said here is from the documentation
loadstring1 and KadeTheExploiter
Metadata
Metadata
Labels
New functionAdding a previously missing or new functionAdding a previously missing or new functionStandard ChangesChanges to the standardChanges to the standard