📌  相关文章
📜  roblox studio 如何通过角色提及玩家 - 无论代码示例

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

代码示例1
local function getPlayerFromCharacter(character)
    for _, player in pairs(game:GetService("Players"):GetPlayers()) do
        if player.Character == character then
            return player
        end
    end
end