Posted
local BlekLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/laderite/bleklib/main/library.lua"))()
local Speed = 0.05
local win = BlekLib:Create({
Name = "Type Race! (Made By Devug)",
StartupSound = {
Toggle = true,
SoundID = "rbxassetid://6958727243", -- Win 11 Startup Sound
TimePosition = 1
}
})
local maintab = win:Tab('Main')
local uitab = win:Tab('UI')
maintab:Button('Auto Type', function()
-- Simulates pressing a key
local vim = game:GetService("VirtualInputManager")
local function PressKey(name)
vim:SendKeyEvent(true, Enum.KeyCode[name], false, game)
vim:SendKeyEvent(false, Enum.KeyCode[name], false, game)
end
-- Gets keys
local keys = workspace.Letters:GetChildren()[1]
local start
for i,v in pairs(keys:GetChildren()) do
if v:FindFirstChild("PopupTemplate") then
start = v
end
end
local dists = {}
for i,v in pairs(keys:GetChildren()) do
if v:FindFirstChild("SurfaceGui") then
local dist = (v.Position - start.Position).Magnitude
table.insert(dists,{v,dist})
end
end
table.sort(dists,
function(a,b)
return a[2] < b[2]
end
)
-- Type 'em
for i,v in pairs(dists) do
local letter = string.upper(v[1].SurfaceGui.TextLabel.Text)
if letter == " " then
PressKey("Space")
else
PressKey(letter)
end
task.wait(Speed)
end
end)
uitab:Button('Destroy GUI', function()
win:Exit()
end)
uitab:Label('Made By Devug!')
maintab:Textbox('Speed', function(a)
Speed = a
print(Speed)
end)
maintab:Label('0.03 Is The Minimum')
maintab:Label('Click This Button Every Game')
Replied
works perfectly, but i got banned
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post