Advertisement
Robert312_9801

Type Race! auto type.

Jun 27th, 2022
794
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script not my. I did it faster. Instead of 170-180 words per minute, it was +- 250.
  2. -- Author HONANSIK.
  3.  
  4. local sb = workspace.SelectionBox
  5. local vim = game:GetService("VirtualInputManager")
  6. while game:GetService("RunService").RenderStepped:wait() do
  7.     pcall(function()
  8.         if workspace.SelectionBox.Adornee and workspace.SelectionBox.Adornee ~= workspace.Baseplate then
  9.             local key = (sb.Adornee.SurfaceGui.TextLabel.Text ~= " " and sb.Adornee.SurfaceGui.TextLabel.Text:upper() or "Space")
  10.             vim:SendKeyEvent(true,Enum.KeyCode[key],false,nil)
  11.             wait()
  12.             vim:SendKeyEvent(false,Enum.KeyCode[key],false,nil)
  13.         end
  14.     end)
  15. end
Advertisement
RAW Paste Data Copied
Advertisement