这个脚本有什么错误,我不知道

时间:2021-01-21 16:59:36

标签: roblox

我想让脚本在玩家死亡时让 UI 消失

脚本: https://prnt.sc/xdsihy

资源管理器打印屏幕: https://prnt.sc/xdsist

编写脚本:

local Humanoid = game.Workspace:FindFirstChild("Humanoid")
local Texto1 = game.StarterGui.Eba.Texto1
if Humanoid.Health == 0 then
    Texto1.Visible = false
    print("Yay")
end

0 个答案:

没有答案