Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What's the key code of Left Control? need help with the VIrtualUser KeyDown/Up

Asked by 5 years ago

i need help what's the key code for Left Control as when i use this game:GetService'VirtualUser':SetKeyDown("LeftControl") game:GetService'VirtualUser':SetKeyUp("LeftControl")

it say's Unsupported Key.

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

the code for leftcontrol is

game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftShift) 

u can change IsKeyDown to IsKeyUp if u need to

0
Uh, excuse me? You said "left shift" and yet you show the key code for left control. DeceptiveCaster 3761 — 5y
0
i saw that u typed left control in ur own script so i changed that in my own script, forgot to type it in the code for the key on top but u got the script Gameplayer365247v2 1055 — 5y
Ad

Answer this question