📜  roblox 检测玩家何时死亡然后重生 - 无论代码示例

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

代码示例1
game.Players.PlayerAdded:Connect(function(pla)
    pla.CharacterAdded:Connect(function()
        --this code will run when the player is respawned, eg
        print("Player "..pla.Name.." has respaned.")
    end)
end)