|
| 23 Apr 2016 09:46 PM |
I would like to disable one or more keys then re-able them after a period of time but I am not sure about how to disable a players keys.
I tried game:GetService("ControllerService"):ClearAllChildren() But that didn't work for me.
do anybody know? |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2016 10:00 PM |
local controls = {}
for i,v in pairs(game:GetService("ControllerService")) do table.insert(controls,v) v.Parent = nil end
Instance.new("BodyThrust",SenseiWarrior).position = CFrame.new(SenseiWarrior,YourGirlsDMs) |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2016 10:26 PM |
I will have to define which keys I want disabled in the 'local controls' table right?
Do I have to store the KeyDown function with these letters? local controls = {Q, W, E} |
|
|
| Report Abuse |
|
|