我是在Roblox做游戏,我想做的是找到一个按下钥匙扣本地并找到球员位置的玩家(我只需要帮助找到玩家的位置而不是钥匙扣)
我试图在线搜索,但我没有找到解决问题的解决方案。
local UserInputService = game:GetService("UserInputService")
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == Enum.KeyCode.G then
_G.MalevolentShire = true
end
end)