Basically,like a front flip animation to work.It will need to press the keys Z and X is it possible?
I'm not trying to say can you script it for me.
You can use GetKeysPressed
local uis = game:GetService("UserInputService") uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.Z or input.KeyCode == Enum.KeyCode.X then local keys = uis:GetKeysPressed() local xFound, zFound for _, key in pairs(keys) do if key.KeyCode == Enum.KeyCode.Z then zFound = true elseif key.KeyCode == Enum.KeyCode.X then xFound = true end end if zFound and xFound then print("both keys") end end end)
I think that it is possible. Try something like this:
local uis = game:GetService("UserInputService") uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.Z and input.KeyCode == Enum.KeyCode.X then -- Code here end end) -- Not quite sure will this work ^^