uis.InputBegan:connect(function(key,bool)
	if not bool then print("hi")
		if uis:IsKeyDown(Enum.KeyCode.LeftControl) and uis:IsKeyDown(Enum.KeyCode.S) then
			askForSave()
		elseif uis:IsKeyDown(Enum.KeyCode.S) and uis:IsKeyDown(Enum.KeyCode.RightControl) then
			askForSave()--control+s to askForSave, I think this function works
		end
	end
end)

This issue is that When I push control, it prints hi. And then when I push s, it doesn't. I'm guessing While one key is down, another won't register. Is there any way to use two keys, like control+alt+delete?

2 comments

0

Why not use 'key.KeyCode.Name == Enum.KeyCode.S'? This may not fix your problem though, but I thought to point it out anyway. :)

0

You would need to store each key input e.g local altDown = true ect