Run it
Copy the script and paste it into your executor.
local number = "2" -- stage number
function enterKey(rm)
local level = game.Workspace["Room"..rm]
local levelKP = level.CodeDoor.KeyPad
local inptd = levelKP.Input.SurfaceGui.TextLabel
local ans = level.CodeDoor.Code.Value
local function returnCD(name)
print(name)
if tonumber(name) ~= nil then
return levelKP["B"..name].ClickDetector
end
if name == "-" then
return levelKP.Minus.ClickDetector
end
return levelKP[name].ClickDetector
end
fireclickdetector(returnCD("Clear"))
wait(0.000001)
fireclickdetector(returnCD("Clear"))
()
(())
()
(())
()
(())
()
t={}
ans=(ans)
ans:(,(c) .(t,c) )
i,v (t)
((v))
()
()
inptd.Text == ans
(())
()
(number)
(number)
opens doors for you without you calculating the answer :) * opens keypad door within a second * failsafe check (mostly working) (ui coming soon)