Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script not my. I did it faster. Instead of 170-180 words per minute, it was +- 250.
- -- Author HONANSIK.
- local sb = workspace.SelectionBox
- local vim = game:GetService("VirtualInputManager")
- while game:GetService("RunService").RenderStepped:wait() do
- pcall(function()
- if workspace.SelectionBox.Adornee and workspace.SelectionBox.Adornee ~= workspace.Baseplate then
- local key = (sb.Adornee.SurfaceGui.TextLabel.Text ~= " " and sb.Adornee.SurfaceGui.TextLabel.Text:upper() or "Space")
- vim:SendKeyEvent(true,Enum.KeyCode[key],false,nil)
- wait()
- vim:SendKeyEvent(false,Enum.KeyCode[key],false,nil)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement