📜  roblox 获取玩家角色 - 任何代码示例

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

代码示例4
-- Player = Stores stuff like you UserId. Its you!- Developers have access to like purchases and so
-- Character = How you look like - The Model in your Workspace
-- Humanoid = A little Robot inside the Character that Holds Values like your Health or WalkSpeed
game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(Character)
        print(Character.Name)
    end)
end)