Advertisement
KeyUnlocked

TYPE RACE AUTO TYPE { 200+ WPM }

Jul 13th, 2022
2,690
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. -- Legit autotyper for type race https://www.roblox.com/games/7232779505/GAY
  2. -- Set WPM limit and delays to whatever you like to seem more legit
  3. -- This can also do survival and SG/RLGL
  4.  
  5. -- TO ADD: Different ways to cap WPM limit without stuttering
  6. -- TO ADD: Anti-break tech to avoid misses from breaking/ruining it
  7. -- TO ADD???: Autotype without needing to execute each time
  8.  
  9. _G.wpmlimit = 999 -- Max WPM you can hit, will start stuttering at this limit.
  10. _G.keydelay = 0.001 -- Chance Key delay so it looks legit. ( %0.075/%0/%0.025 )
  11.  
  12. local vim = game:GetService("VirtualInputManager") -- I specifically did this bc the SynX keypress used only VK bytecodes
  13. -- Interpreting straight letter to VIM seems to be faster than using SynX VK, and it works without needing game focus
  14.  
  15. ---- vvvvv I DID NOT MAKE ANYTHING IN THIS SECTION vvvvv ----
  16. local function findLetterTable()
  17. for i,obj in pairs( getgc() ) do
  18. if type(obj) == "function" and getfenv(obj).script == game:GetService("Players").LocalPlayer.PlayerGui.LocalMain then
  19. local consts=debug.getconstants(obj)
  20. if consts[8]=="idXTO3JVlV0CBTmiSbaQ" then
  21. --local tab=debug.getupvalue(obj,4)
  22. return debug.getupvalue(obj,4) -- FULL CREDIT TO IDoN0t ON V3RM FOR THIS THING [showthread.php?tid=1140292]
  23. end end end end -- I have no idea what's going on in this thing, other than just raw letters come out of it
  24. ---- ^^^^^ I DID NOT MAKE ANYTHING IN THIS SECTION ^^^^^ ----
  25.  
  26. local descendants = findLetterTable()
  27. for index, descendant in pairs(descendants) do
  28. if string.upper(descendant) ~= " " then -- Remnant of an old method of getting letters
  29. local key = Enum.KeyCode[string.upper(descendant)]
  30. vim:SendKeyEvent(1,key,0,nil)
  31. vim:SendKeyEvent(0,key,0,nil)
  32. else
  33. vim:SendKeyEvent(1,32,0,nil) -- This is how I used to interpret spaces safely
  34. vim:SendKeyEvent(0,32,0,nil) -- It's crusty, but it works
  35. end
  36. while tonumber(game.Players.LocalPlayer.PlayerGui.ScreenGui.Main.RaceScreen.LiveStats.WPM.Stat.Text) > _G.wpmlimit do
  37. task.wait() -- This section hard limits at the set WPM cap. Should this also be keydelay so it's less jittery/stuttery?
  38. end
  39. wait(_G.keydelay)
  40. if game.Workspace:FindFirstChild("Doll") then -- To avoid bugs with non RLGL modes
  41. while game:GetService("SoundService").DollSaying.TimePosition > 5 or game:GetService("SoundService").DollSaying.TimePosition <= 0 do
  42. task.wait() -- I encourage experimenting with the timepos to squeeze the most out of the time you have. 5 is the highest it's reliable at.
  43. end
  44. end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement