--BROUGHT TO YOU BY RobloxScripter.com!--
if getgenv().tog~=nil then
getgenv().tog:Disconnect()
getgenv().tog=nil
end
getgenv().atSet={
["Typing"] =false,
["MaxVal"] =2,
["MinVal"] =1,
}
local keys={
["a"]=0x41,
["b"]=0x42,
["c"]=0x43,
["d"]=0x44,
["e"]=0x45,
["f"]=0x46,
["g"]=0x47,
["h"]=0x48,
["i"]=0x49,
["j"]=0x4A,
["k"]=0x4B,
["l"]=0x4C,
["m"]=0x4D,
["n"]=0x4E,
["o"]=0x4F,
["p"]=0x50,
["q"]=0x51,
["r"]=0x52,
["s"]=0x53,
["t"]=0x54,
["u"]=0x55,
["v"]=0x56,
["w"]=0x57,
["x"]=0x58,
["y"]=0x59,
["z"]=0x5A,
--Special Chars
[" "]=0x20,
}
local function randNum()
return math.random( getgenv().atSet["MinVal"],getgenv().atSet["MaxVal"] )/100
end
local function press(text)
--task.wait()
local key=keys[string.lower(text)]
keypress(key)
task.wait( randNum() )
keyrelease(key)
end
--press( game:GetService("Workspace").SelectionBox.Adornee.SurfaceGui.TextLabel.Text )
local UserInputService = game:GetService("UserInputService")
getgenv().tog =UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.RightShift then
--
getgenv().atSet["Typing"]=not getgenv().atSet["Typing"]
while getgenv().atSet["Typing"] do
--
task.wait()
if game:GetService("Workspace").SelectionBox.Adornee~=nil then
press( game:GetService("Workspace").SelectionBox.Adornee.SurfaceGui.TextLabel.Text )
end
--
end
--
end
end)