标签: 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