Doors SC (Easy Link Right - )
Doors SC (Easy Link Right - )
-- Function replacement
if not fireproximityprompt or executor_name == "Solara" then
function newinstance(itype, iparent, iproperties)
if not itype or typeof(itype) ~= 'string' then return; end
if typeof(iparent) ~= 'Instance' then iparent = nil; end
return i
end
function _fireproxp(obj)
local oldenabled, oldrlos = obj.Enabled, obj.RequiresLineOfSight
obj.Enabled = true; obj.RequiresLineOfSight = false
local PromptTime = obj.HoldDuration
obj.HoldDuration = 0; posprompt(obj, true)
task.wait()
obj:InputHoldBegin()
obj:InputHoldEnd()
posprompt(obj, false); obj.HoldDuration = PromptTime; obj.Enabled =
oldenabled; obj.RequiresLineOfSight = oldrlos
end
fireproximityprompt = _fireproxp
getgenv().fireproximityprompt = _fireproxp
end
return success
end
test("require", function()
require(game:GetService("ReplicatedStorage"):FindFirstChildWhichIsA("ModuleScript",
true)) end)
test("hookmetamethod", function()
-- From UNC Env Check
local object = setmetatable({}, { __index = newcclosure(function() return
false end), __metatable = "Locked!" })
local ref = hookmetamethod(object, "__index", function() return true end)
assert(object.test == true, "Failed to hook a metamethod and change the
return value")
assert(ref() == false, "Did not return the original function")
game:GetService("Lighting")
assert(method == "GetService", "Did not get the correct method
(GetService)")
end)
test("firesignal", function()
local event = Instance.new("BindableEvent")
if firesignal then
firesignal(event.Event, true)
task.wait()
end
task.wait()
end
event:Destroy()
assert(fired, "Failed to fire a BindableEvent")
end)
end
loadstring(game:HttpGet("https://raw.githubusercontent.com/notpoiu/mspaint/" ..
(compatibility_mode and "solara" or "main") .. "/places/" .. game.GameId ..
".lua"))()