--BROUGHT TO YOU BY RobloxScripter.com!--
_G.Click = true
local vim = game:GetService("VirtualInputManager")
function pressKey(key)
print("Key:", key)
vim:SendKeyEvent(true, key, false, game)
repeat
wait()
until game:GetService("Players").LocalPlayer.PlayerGui.TRAINING.Random.Key.TextLabel.Text ~= key
vim:SendKeyEvent(false, key, false, game)
end
while _G.Click == true do
wait()
local text = game:GetService("Players").LocalPlayer.PlayerGui.TRAINING.Random.Key.TextLabel.Text
if text == "W" or text == "S" or text == "D" or text == "A" or text == "K" or text == "J" or text == "N" or text == "M" then
pressKey(text)
end
end