📜  roblox 热键脚本 - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.559000             🧑  作者: Mango

代码示例1
local UserInputService = game:GetService("UserInputService")
 
local spaceHeld = UserInputService:IsKeyDown(Enum.KeyCode.Space)